Klark0
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] CDN Images in SitemapMy images were also de-indexed. I eventually got some example code from yoast, and now my images are back in the index. WebmasterTools is now detecting them as well, so there’s no problem for Google with having your images on a subdomain of your main domain.
Here’s the code:
function wpseo_cdn_filter( $uri ) { return str_replace( 'https://example.com', 'https://cdn.example.com', $uri ); } add_filter( 'wpseo_xml_sitemap_img_src', 'wpseo_cdn_filter' );
Forum: Plugins
In reply to: Remove Quick Adsense from WordPress Mobile Pack ThemesI also would like to remove quick adsense while the mobile theme is being displayed. Anyone?
the likes on facebook doesn’t seem to count towards to the like counter on the website with the short url enabled.
is there a way to make Publisher use the long url?
Forum: Plugins
In reply to: Where to find this Category Plugin – example providedThis is my site, and even though you’re competing with me I’ll help ya out.
I’m not using any plugins, it’s all standard wordpress template tags and template hierarchy, you can read up on that in the codex. https://codex.www.ads-software.com/Template_Hierarchy
I started off with the massivepress theme, it’s pretty old and had none of the new wordpress features like custom menus, etc so I added in all that.
To make your categories look different you can use category-photos.php (for example) where “photos” is the slug of your category. WordPress will automatically use that template file for the “photos” category. Your default category.php will display the other categories. You can do this for tags and single posts as well.
For the photos section particularly, I’m using do_shortcode(gallery) to display photos with just “the_title”.
For the video section, it’s same except I use “Vipers Video Quicktags” in combination with the “Video Thumbnails”. The latter grabs a screen from the video embed with Viper, and adds it automatically to the post gallery as the featured image.
So it’s just a matter using Template Hierarchy to display the content however you want it.
And please find your own unique way of doing it, rather than copying like you did with my Home Page Featured Posts thingy. ??
Yes this is last thing keeping me from switching from All in One. It’s very annoying that it adds those columns to post management.
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Cache for GoogleBot?This same thing bothered for me for while, but i gave up worrying about it.
Serps have never been higher, and adsense is up.Forum: Plugins
In reply to: [W3 Total Cache] Enabling Object Caching with W3 Total CacheYou don’t have to do anything, no need to edit your code. In the options, there’s a setting on both the Object Cache and Database Cache, to ignore the Admin section and logged in users to maintain WordPress functions.
Everything is cached and you can specify pages and strings you don’t want cached.
If you publish a post or add a comment, the cache is cleared. What are your Editors and Authors doing that causes the catch to not flush?
Forum: Plugins
In reply to: [WordPress Popular Posts] Cache WordPress Popular Posts queriesthat plugin is very bad on my large site. Lots of queries, i think it tries to catch results.
So i dropped it, and used the functions that already exist in the wp.com stats plugin.
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Editing css and syncing cdn filesWhen you edit your css files, go the Minify page and hit Save Changes then clear the cache.
Forum: Plugins
In reply to: w3 total cache plugin: Website breaks while APC EnabledCheck if you have Zend optimizer enabled in php. apc is not compatible with it.
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] InnoDB and W3CYou should do it for both your posts and comments tables ..if you have lots posts and comments entered per day. It helps a great deal.
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Enabling cache for users+1. me too.
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Cache for GoogleBot?pingdom doesn’t seem to load everything. see what webpagetest.org reports.
Forum: Hacks
In reply to: need hep writing specific SQL query for $WPDB objectHey,
maybe you guys can help. i wanna insert the more tag into a couple thousand posts.
what command would i need to insert the more tag after the first 50 words.
I don’t know much, here’s where i’m stuck:
update wp_posts set post_content
now need someway to count the post words then insert tag <!–more–>.