so with this if again i have the same problem, the problem is at adsense?
It is a little weired, because at adsense i have created a responsive add.
Also, i had problems with adsense ads not redering at the website theme (not the mobile theme), and it was needed to specify for every ads possition in the theme and for every screen the right dimensions and was worked corectly.
At mobile ads i don’t see something like that. There are no other options which maybe i don’t have in mind?
Thank you
Hi Bogdan,
when do you say to try adrotate plugin and place the adrotate shortcode in the theme panel. Do you mean at the theme panel-> mobile ads to add there the shortcode from adrotate?
Thank you
Hello,
i new about the Mobile Ads. There i put the code from adsense. But at my mobile i cannot see the google ads, instead i can see ads from other affiliate program.
Yesterday i observed at another mobile that the google ads are shown correct.
I don’t understand why at my mobile phone they are not showing. I don’t have ad block, and i think so that if i had, i couldn’t see the affiliate ads too.
Hello and thank you.
Yes this is very helpful. If you install and this extension:
https://wordpress.org/plugins/featured-images-for-rss-feeds/
there are no problems with the feature image.
Can i somehow take in RSS Feed only one category from the site?
Thank you
I did not removed the mobile logo, for header style 6(and others) it is not necessary – http://screencast.com/t/AyXuuO8pQYmi
thank you very much
But where is needed this lines of code , which are creating the spaces?
Yes it helps a lot.
Thank you very much!!!!!
Hi gain and thank you.
I done this at first. But after this, if i change only the limit, then i must have, my tinking if the post reach the limit. Also if we put the limit lets say at “5000” then it will create 5000/3=1666 lines, from which will fill only the number from posts which are at this time (now) attached at this category, lets say 10. So the result will be a very big page displaying only 10 posts.
So with my indervation i have the limit at the number of posts the category “mens lifestyle” has. So if i have 30 posts in category “mens lifestyle”, then the page will create only 30/3=10 lines and will display the page in the right height to display only the 30 posts from category “mens lifestyle”.
So the dificulty for me now is if i have multiple pages, for diferent category every page, in someway to can have the category id, and after this to have the limmit at the number of posts which are asigned at this category.
As the big grid 5 is a class, i assume that every page which have inside a big grid 5, will have an object of this big grid 5 class. And as the big grid 5, have at settings the category filtering, then that object will have in its attributes the category id.
So can you help be how to retrieve this id, in this file wp-content/themes/Newspaper/includes/shortcodes/td_block_big_grid_5.php (which i assume that is the class for the big grid 5 object)?
thank you
Sorry for missunderstanding, maybe is my fault.
i want some pages to have one big grid 5, which will saw all the posts from one category in one big grid 5 (all posts in lines with three posts at every lne, like big grid 5).
with your answer in a prebuying queston:
2. The Big Grid blocks have a limit for posts in the code so you can change it there. Lets take your example Big Grid 5, here you can change the limit – http://screencast.com/t/XmOZHeiWG8F and the result – http://screencast.com/t/EX7UYmjZbK Please note that the Big Grids were designed to handle only a specific number of articles and for some of them you may need additional customizations(big grid 5 seems to work fine even you set it to display more posts). So if you have also basic html/css experience should not be an issue.
I modfied a little the file wp-content/themes/Newspaper/includes/shortcodes/td_block_big_grid_5.php
<?php
/**
*
* Class td_block_big_grid_5
*/
class td_block_big_grid_5 extends td_block {
//const POST_LIMIT = 20;
function render($atts, $content = null){
//Gia na parw to plithos twn posts sthn katigoria
$postsInCat = get_term_by('slug','men-s-lifestyle','category');
$postsInCat = $postsInCat->count;
echo $categories[0]->term_id;
// for big grids, extract the td_grid_style
extract(shortcode_atts(
array(
'td_grid_style' => 'td-grid-style-1'
), $atts));
//$atts['limit'] = self::POST_LIMIT;
$atts['limit'] = $postsInCat;
parent::render($atts); // sets the live atts, $this->atts, $this->block_uid, $this->td_query (it runs the query)
$buffy = '';
$buffy .= '<div class="' . $this->get_block_classes(array($td_grid_style, 'td-hover-1')) . '">';
$buffy .= '<div id=' . $this->block_uid . ' class="td_block_inner">';
$buffy .= $this->inner($this->td_query->posts); //inner content of the block
$buffy .= '<div class="clearfix"></div>';
$buffy .= '</div>';
$buffy .= '</div> <!-- ./block -->';
return $buffy;
}
function inner($posts) {
$postsInCat = get_term_by('slug','men-s-lifestyle','category');
$postsInCat = $postsInCat->count;
$buffy = '';
$td_block_layout = new td_block_layout();
if (!empty($posts)) {
$buffy .= '<div class="td-big-grid-wrapper">';
$post_count = 0;
foreach ($posts as $post) {
$td_module_mx12 = new td_module_mx12($post);
$buffy .= $td_module_mx12->render($post_count);
$post_count++;
}
//if ($post_count < self::POST_LIMIT) {
if ($post_count < $postsInCat) {
//for ($i = $post_count; $i < self::POST_LIMIT; $i++) {
for ($i = $post_count; $i < $postsInCat; $i++) {
$td_module_mx_empty = new td_module_mx_empty();
$buffy .= $td_module_mx_empty->render($i);
}
}
$buffy .= '</div>';
}
$buffy .= $td_block_layout->close_all_tags();
return $buffy;
}
}
But there is a need to make more pages like this. In the one for category “Men’s Lifestyle” is working perfect.
But if i have at the menu three menus “a,”b and c” (which are coming from three diferent pages), and in every page i have a big grid 5 which in settings have at category filter, at page “a” the category “a”, at page “b” the category “b” and at page “c” the category “c”, there is no way to change the code and some how to take the category which we have set at settings in the big grid 5?
so in this code:
$postsInCat = get_term_by('slug','men-s-lifestyle','category');
$postsInCat = $postsInCat->count;
the :”men-s-lifestyle” to come from code, or to change it at $postsInCat = get_term_by('id',20,'category');"
and the number (id) 20 to can take it with code before.?
I hope to understand what i mean now.
The example page i created wth the above modificaton , you can see it here: http://testgeolits.myipservers.gr/Olaballa/?page_id=136
Hello.
No i don’ t want this.
If in one page i have a big grid 5 shortcode. And i have set to that big grid 5 to show posts from the category “fashion”. I want progrmmaticaly with php in the file wp-content/themes/Newspaper/includes/shortcodes/td_block_big_grid_5.php to can take the id from fashion category “91”. I want this because i want in that page to show all the posts from fashion category with the big grid 5 style. But to do this i want to find first the category id which has set at the big grid 5 settings in that page, and after to find how many posts from this category are published in my posts.
So how can i with php to fish the category id which is set at the big grid 5 settings;i want to fish it in the wp-content/themes/Newspaper/includes/shortcodes/td_block_big_grid_5.php file
Thank you
thank you
Hello,
the problem is that i don’t have the “navigation label” But the “class ccss (Optional) as you can see at the image i attached at the previus message.
Also i have the wrong articles at deleted articles, if you want to see something.
Hello,
i observed that someone who wrote the article, with some way, deleted the sidebar (i’m not sure about this, because the backend from this article didn’t opened correct) , i have created a new article with copy paste the contents from front end to the new article, and the article is working correct now.
With the new article (and all other article) working correct at backend is there a possibility to have problems with an extensions?
Is there the need to increase my system status parameters?
Do you have some advise, what may be went wrong?
thank you
I post the link of my menu edit again , because it is not displayed in my previous post.
Hello and thank you for the answer.
Onw more question, is there a widget which understands in which category we are, and give as only posts from this category?
What i want to do, is at the sidebar, of a post which is in a category “A” to have latest post from the category “A”. Can i do it wth one sidebar? Or i must create diferent sidebars for every different category?
Thank you
Hello,
The setting are seeming to be saved. Also i don’t think so to use a cdn server.
I have sent you credentials at your contact e-mail.
thank you
Hello,
what do you mean with purge cdn.
here is the link:
http://testgeolits.myipservers.gr/Olaballa/
Now i disabled all plugins, and i deleted all cache from browser.
the logo at the theme panel is diferent from the default logo you can see right now.
Is there something else i have to do with cache?
thank you
I don’t unserstand your answer.
I didn’t said that the Font Awsome 4 Menus it doesn’t works.
But if i want to have another picture, other from these Font Awsome 4 Menus give us (http://fortawesome.github.io/Font-Awesome/icons/), how to put it next to a menu item text?