• Resolved fmpweb

    (@fmpweb)


    Hi – I have the latest version of the plugin installed at https://www.youruttoxeter.com, with banners displayed on the homepage, but find that rotation is not working.

    At one point rotation did work when the homepage was viewed on a desktop pc, but it has never worked on mobile devices – galaxy smartphones or tablets.

    I’ve switch of my caching plugin SG CachePress and deactivated my host’s SuperCacher services. I’ve even flushed the cache before doing so.

    Banner rotation does work on inside pages and posts widget areas on both desktop and mobile, even when all my caching options are activated.

    Any thoughts on what the problem might be? I’ve deactivated all plugins but again no luck on the frontpage.

    Thanks.

    https://www.ads-software.com/plugins/advanced-ads/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Thomas Maier

    (@webzunft)

    Hi fmpweb,

    thank you for your message. From what you describe I can only assume a problem with the ad group or ads being different. Since rotation works in some places, the caching might indeed not be the cause here.

    Do you have identical ads and groups on the positions or different for where it works and where it doesn’t?

    Thanks
    Thomas

    Thread Starter fmpweb

    (@fmpweb)

    Hi Thomas – on the frontpage I currently have four groups, one at the top (Block 1) with two ads set to random, to only display one ad at a time and they are not in any other group – this doesn’t rotate.

    The remaining three groups (Block 2, Block 3 and Block 4) each have three ads, again set to random. Each group has the same ads and are set to show just one ad at a time – these don’t rotate.

    I’ve even tried just have Block 2 in multiple places on the frontpage – again it doesn’t work.

    The inside pages/posts is one group with five ads, set to random and to show up to three ads. This does rotate.

    Does that explain?

    Thanks. Gavin.

    Thread Starter fmpweb

    (@fmpweb)

    Hi again Thomas – I’ve also tried with just one group on the frontpage (with a) just Block 1 with two ads and b) just Block 2 with three ads. Again, no rotation.

    Plugin Author Thomas Maier

    (@webzunft)

    What did you do in order for the ads to show up in the masonry grid? How is that created?

    Thanks
    Thomas

    Thread Starter fmpweb

    (@fmpweb)

    I’m using the views plugin from https://wp-types.com/. This uses shortcodes to create layouts. Are you au fait with this plugin?

    Could it be a shortcode within a shortcode issue or a loop within a loop issue?

    Saying that however, the first ad group isn’t in the loop.

    Plugin Author Thomas Maier

    (@webzunft)

    How is the first group implemented?

    I am thinking more about caching. Maybe they have their own implementation of it.

    Could you please contact their support too since wp-types is obviously a premium service and groups don’t rotate within their software, but seems to work outside of it.

    Any information from them would help. I just want to prevent the situation where I am debugging their paid software to make my free plugin work.

    Thanks
    Thomas

    Thread Starter fmpweb

    (@fmpweb)

    Hi Thomas – thanks for your continued help.

    I can now get rotation to work on both desktop and mobile. It was a combination of me not placing the Advanced As shortcode in the correct places, my caching plugin and, in particular, this piece of code in the htaccess file:

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 2 days"
    </IfModule>
    ## EXPIRES CACHING ##

    Deactivating the caching plugin slows the site down a little but I’ll have to look into dealing with that. Is there a way to exclude the banner ads from being cached? I’ll have a chat with the SG CachePress authors too ??

    Thanks again for your help.

    Cheers.

    Plugin Author Thomas Maier

    (@webzunft)

    Thanks for letting me know about the solution.

    There is a cache busting feature available in Advanecd Ads Pro (https://wpadvancedads.com/add-ons/advanced-ads-pro/).

    If there is a solution for the SG CachePress plugin then I would also like to learn about it.

    Thanks
    Thomas

    Thread Starter fmpweb

    (@fmpweb)

    There doesn’t appear to be a solution for the SG CachePress plugin :(. I enquired about how I could exclude the ads from being cached but no joy.

    My host, SiteGround, who are very good by the way, have details on their offering at https://www.siteground.com/tutorials/supercacher/supercacher_intro.htm

    The Dynamic Cache setting is fantastic and dead simple to use. It seems a real shame not to be able to use it.

    Your cache busting feature looks very interesting – will it work with this SG CachePress?

    Thanks. Gavin.

    Plugin Author Thomas Maier

    (@webzunft)

    Hi Gavin,
    so far I didn’t have problems with cache-busting on any cache service, but I didn’t test it with SG CachePress either. If it doesn’t work and I can’t fix it then I do a refund of course.

    Thanks
    Thomas

    Thread Starter fmpweb

    (@fmpweb)

    Thanks – I’ll give it a try ?? Thanks and all the best.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Rotation not working’ is closed to new replies.