Randomize Vantage V4 Homepage Ads

Randomize Homepage Ads is a much needed plugin that fills a gap in functionality on the Vantage V4 theme.

The standard theme’s listings are fixed meaning no matter what type of ad it is, featured, claimed etc it stays fixed according to the date it’s posted.

This is not good for the paying customer. After all who wants to pay to make their ad featured if someone then posts an unfeatured ad in front of it?

This plugin solves that problem.

The featured ads are placed at the top of the page.

Claimed come second.

Unclaimed last.

Also everytime the page is visited the order changes within each section. So for example no one featured ad stays in the same position. They change randomly and so on through claimed and unclaimed. This gives fairness to ad owners as no one ad now has the number one position all the time.

The plugin forms a widget so you can place it on the page as you wish. As this is Homepage only we do reccomend you delete the Vantage Home Latest Listings widget as the ads are fixed.

Take a look at the video to see it in action.

This also works with Directory 4x by Spartac.

3 people like this.

Install through WordPress – administration dashboard:
1. Click ‘Plugins’
2. Click ‘Add New’
3. Click ‘Upload Plugin’
3. Click ‘Browse’ and navigate to the location where you saved the zipped plugin package, click on the package: Randomize Ads.zip
4. Click ‘Install Now’
5. Click ‘Activate Plugin’
Install manually using FTP:
1. Extract folder and files from the zipped archive: Randomize Ads.zip
2. Upload the folder to your website directory, placing it in the plugins folder: wp-content/plugins
3. Activate the plugin in the ‘Installed Plugins’ section of the administration dashboard.

If you need support contact me through the support forum.

You need to purchase this item before reviewing it.
(Just bought it? Log out and back in to enable reviews.)

 Comments (7)

  • mllerena

    Hi there, is it compatible with Vantage 4’s child theme Directory 4x?

  • author


    Yes it does. 🙂

  • mllerena

    Great! Thanks.

  • guiadelamujer

    Hello, i just installed your plugin, works great!, is there a way to increase the home page showed ads? go from 30 to a higher number?

    Best regards

  • author

    Yes you can.

    First off Backup your site just incase you make a mistake.

    FTP into your site.

    Go to the plugins folder.

    Naviage to

    Randomize ads/widgets/

    Open up

    class-widget-listing-randomize.php in notepad or whatever you wish.

    Depending on what you wish to adjust you have three options.

    Line 66

    ‘max’ => 30,

    Change the 30 to whatever value you wish to show on the home page for Featured Ads.

    Remember this. Keep it to the value of 3.

    So 30, would go up to 33, 36, 39 & so on and the same if you wish to show a lesser amount. So 30, would go down to 27, 24, 21 etc.

    Line 77

    ‘max’ => 30,

    Same as above. This will change how many claimed ads are shown on the front page.

    Again, remember to up the amount by the vale of 3 at a time. 30, 33, 36,39 etc and also go down by 3, 27,24,21 etc should you wish to lessen the amount shown.

    Line 88.

    ‘max’ => 30,

    This is the TOTAL amount shown on the page setting. The two settings above this featured and claimed MUST NOT exceed what you set here for the total amount shown on the page.

    Example if the total amount is set at 30 and the two above combined add up to 33 it will mess up the results on the homepage. So just be careful that the top two COMBINED do not total more.

    Now if the top two combined are less then the total amount say they add up to say 24, then you will have the difference showing unclaimed ads.

    REMEMBER when you adjust an amount SAVE the change or it won’t work 🙂

    Any problems just message me back 🙂

    2 people like this.
  • guiadelamujer

    Great buddy, as soon i have the time i will do those changes

    I know is not related to your plugin, but can you please tell me why i cant see the gallery widget when im publishing new listings ? i mean, the featured image is there, but i cant see the usual gallery photos item to add new photos

    I hope you can help me, i remember i had this problem long time ago and i get the answer in vantage forum, but i cant remember which was the solution, and now i dont have access to that forum, best regards! 🙂

Leave a Reply

More by aj2703

CP Premium Add-ons

Unlimited Premium Add-ons for ClassiPress with different prices and…


Google Location Auto Complete

Make JobRoller location searching so much easier using the google location…


Hide Listing Contact Info

Hide contact information to entice listing owners to claim their listing by…