• I installed this great plugin on a client’s blog a couple of weeks ago without any problems displaying ads randomly. However, upon implementing it on a second client’s blog, the block of ads that should be random are showing up in descending order. The site is hosted by WP Engine, who automatically cache all content.

    Here the code currently in use:
    [dfads params='groups=4853&container_class=textwidget&ad_html=p&return_javascript=1']

    I have cleared the cache several times to no avail. There are no other groups with the ID number 4853 in use. All other blocks of ads (set to display in ascending sequence by menu order) are displaying properly. It’s only the random ad display that is not functioning as expected.

    Any suggestions?

    http://wordpress.org/extend/plugins/ads-by-datafeedrcom/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter doorsixteen

    (@doorsixteen)

    UPDATE:
    I have discovered that WP Engine blocks ORDER BY RAND() orderings in MySQL queries by default.

    They suggest that if a customer wishes to enable ORDER BY RAND(), that they cache the results for 5-15 minutes so the database isn’t pummeled by slow queries.

    Any suggestions on how to achieve this with your plugin?

    Thanks!

    Plugin Author datafeedr

    (@datafeedrcom)

    Hi,

    Wow, that’s interesting.

    Unfortunately I don’t really have any suggestions to get around this.

    Eric

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Ads not displaying randomly’ is closed to new replies.