Ok so I created a function and added it to the template as follows and it works perfectly:
function excludeCat($query) {
if ( $query->is_home ) {
$query->set('cat', '-6575');
}
return $query;
}
add_filter('pre_get_posts', 'excludeCat');
With the 6575 being the category ID you want to have ignored. Figured I would post for anyone looking for the same thing in the future.
Yes, the homepage is android-advice.com. Thank you for taking a look.
Ok yes its fine now, thank you all for your responses.
The issue:
The sprite files aren’t in the patch you need to manually upload them
Solution:
1. download the entire theme again
2. copy the sprites folder from the theme under images
3. Upload them over the sprites folder under images within the Newspaper theme.
Thank you all again!
Still not working in incognito or with a cleared cache. Basically its showing half of a home looking icon and something else but both hard to make out. Please take a look at (android-advice(dot)com) to see what I mean.
Thank you
You need to add the following line within the header file for the style you are using (i.e. header-style-1.php):
<?php bloginfo(‘description’); ?>
Example:
<a itemprop="url" href="<?php echo home_url(); ?>"><img width="300" src="<?php echo $td_customLogo?>" alt="<?php echo $td_logo_alt ?>"<?php echo $td_logo_title ?>/></a>
<meta itemprop="name" content="<?php bloginfo('name')?>">
<?php
}
}
?>
<br /><?php bloginfo('description'); ?>
</div>
<div class="span8">
Not tested but you get the idea
EDIT: This is to manually add it, I’m not sure if there is a way to do it already baked into the theme.
-
This reply was modified 12 years by
mofiki.
Thats what i’m saying, I updated the theme to version 3.0.1 and then used the plugin from the update as well. My theme version is 3.0.1 running SpeedBooster 2.0 and I am still having the following issues:
1. Header and in article ads aren’t working with Speed Booster
2. Full Background image not working with Speed Booster
Hi Marius,
I am using the Sped Booster plugin from version 3.0.1 and I am still having issues with the header and inarticle ads as well as background image not showing. the address is (android-advice(dot)com) if you have a chance to look to see if you notice anything done to interfere with the plugin from a source stance.
Well there is obviously something going on. I guess we should just wait it out and see what RADU comes back to us with. In the mean time I will run through the code and see if I notice anything that can be changed in the short term until a fix comes along.
728×90 in article and they work fine without speed booster but once I turn on speed booster plugin they resize to 300×250 for some reason.
go to the w3 Total Cache settings and turn off minify for js and css and it should revert back to the way it was.
Bugs that I have noticed with the current one:
1. Header and in article ads aren’t working with Speed Booster
2. Full Background image not working with Speed Booster
So I was messing around with the new updated v3 theme and noticed that when using TagDiv Speed Booster it causes your issue. This being said I assume you are using the Speed Booster. Disable it and everything should work fine and wait for them to update it with some fixes
Manually add the tracking code in the head section of header.php. The Analytics section of the theme puts the code in the footer but Google requires it to be in the head.
RADU: Any chance this could be fixed in a future update. Analytics needs to be in the head of the website (preferably last thing before </head>
Ok select the download option that has all files and documentation, not just the theme (it looks like the theme alone is just the newest version without the update patch)
Also take note that it seems they forgot to update the zip file name and it will be labeled 1.5-1.6 but if you look at the readme it is the 1.6-1.7
The mobile site will pull in your main menu automatically (that is the colored menu under the header). When you tap the menu button it will slide out from the left side.
If I misunderstood your question please let me know.
Just go back to themeforest and download the theme again. You will see a folder that says “patch to vx.x to vx.x, open that folder. Then extract the zip file in the folder and put it into your theme directory overwriting the older files already there.
If you have any other questions just ask 🙂
Radu, It would be nice to have a compressed option for speed or just assume that anyone that is editing the CSS should know that they would need to modify the compressed version as well.
Maybe just an option in the customizer to choose a compressed version of CSS or default being a uncompressed version.
NOTE: the only reason I don’t compress it myself is to avoid complications with updates since the theme is updated regularly. Not wanting to compress CSS manually twice a month.
If the worst issue I encounter with the theme is css minification I’m just fine so thank you either way
Yeah I hate when an issue bugs me for days so I post it and then 10 seconds later it just hits me lol
Thank you Radu, I will leave them as is just wanted to be sure it was reported by someone. As far as i’m concerned if someone is using IE8 they are probably not in my demographics. I am a developer myself and like everyone else cannot stand IE nor do I try to keep in in mind when initially developing a site.
Thank you
No problem, I love the theme and want to be sure others are happy with it as well to ensure its continued success and support 🙂
I have also noticed that the theme puts the analytics code at the end of the page which should not be the case so you should remove it from there and add it to the header file just above the </head> to meet Google’s best practices.
Just an FYI
Was your bounce rate 25% or actually 0.25%? The average websites bounce rate is 40% and doesn’t have as much bearing on SERPS as you might think. This being said there could be an issue with your tracking code either now or previously that caused the difference in rates. My assumption would be the tracking code was improperly installed previously since a bounce rate of 0.25% is almost impossible.
It is likely that your bounce rate was previously closer to 80% so now you will want to use that as your baseline.
Thank you Irajabi and Radu all seems fine with the escapes now.
This can be closed….
I found the issue, I forgot to delete my cache between updates and it created an issue with the way content was showing. After deleting my cache and refreshing the pages everything seems to be fine.
