Results 1 to 3 of 3

Thread: Bug: Ads won't loop automatically - Simple Fix?

  1. #1
    Thread Starter
    eric_mojstrovich's Avatar
    Join Date
    May 2011
    Location
    Canada
    Posts
    33
    Thanks
    10
    Thanked 0 Times in 0 Posts

    Bug: Ads won't loop automatically - Simple Fix?

    My ads aren’t appearing to loop properly under the listings section of my website. I have a couple ads up under a category to test my issue. Currently only one ad is appearing. I’ve been digging deeper and have found the root to the problem, I’m just unsure of how to fix it or where to look to fix the problem.

    I’ve disabled all my plugins and the problem wasn’t resolved, so there are no further issues with conflicts here. Everything is up to date as well.

    The issue is directly correlated to the following line of code below.

    <?php get_template_part( 'loop', 'ad_listing' ); ?>

    When I put this code within the correct php multiple times (like below)

    <?php get_template_part( 'loop', 'ad_listing' ); ?>
    <?php get_template_part( 'loop', 'ad_listing' ); ?>
    <?php get_template_part( 'loop', 'ad_listing' ); ?>

    The method appears to temporarily resolve the issue and populate my additional advertisements, but I have to put the code (above) within the template for the precise amount of ads I have so this will be ineffective when I have multiple users listing ads.

    Is someone able to tell me why my ads aren’t looping properly and how I can restore a certain file to infinitely loop my listings again?

    Thanks a lot! This answer will surely help other people having this same issue.

  2. #2
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

  3. #3
    Thread Starter
    eric_mojstrovich's Avatar
    Join Date
    May 2011
    Location
    Canada
    Posts
    33
    Thanks
    10
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Simple Change
    By yogamatt in forum Olinda
    Replies: 17
    Last Post: March 16th, 2014, 11:23 AM
  2. Couple of very simple changes
    By 33paradigm in forum TwinPress Classifieds
    Replies: 2
    Last Post: March 9th, 2014, 03:54 PM
  3. Simple Directory
    By snp210 in forum Report Vantage Bugs (Legacy)
    Replies: 3
    Last Post: December 14th, 2012, 07:12 AM
  4. Add a simple page?
    By lane in forum Help Using Vantage (Legacy)
    Replies: 1
    Last Post: September 2nd, 2012, 10:52 AM
  5. Really simple question...
    By stevebruce in forum Help Using JobRoller
    Replies: 10
    Last Post: December 14th, 2011, 01:53 PM