Quantcast
Channel: wp-super-cache – WordPress.org Forums
Viewing all articles
Browse latest Browse all 3480

erikwestlund on "[Plugin: WP Super Cache] Dynamic Cache: is_front_page() only works on first load"

$
0
0

I am having a similar problem. I have a variable that checks if it is a certain page:

if($is_front_page == 1){
    echo $ads['homepage_topbanner_mobile'];
} else {
    echo $ads['article_topbanner_mobile'];
}

inside the standard dynamic content code.

This works on the first load (I get the homepage ad) and then after that it defaults to the article ad.

This plugin works a lot better for me than the Total Cache one, it's been a lifesaver for our server load. But I do need a few of these things fixed eventually.... Your insight would help!


Viewing all articles
Browse latest Browse all 3480

Trending Articles