Contextual Related Posts
Output formatting issues when cache is turned on (2 posts)

  1. boscoiscool
    Posted 3 years ago #


    I've been using your plugin for a few days and it's really awesome! There's one issue I wanted to point out that I'm hoping you can help with.

    I'm using the output from the plugin in 2 locations on a page. The first location is through the widget on the sidebar and the second location is through php in my theme using echo_ald_crp() at the bottom of my pages. I have both of these styled differently.

    When the cache option is off, the sidebar widget produces the desired output (images that are 90 x 90 and only a single title; however, when I turn caching on the sidebar widget produces images that are 141 x 141 (the size of the images outputted by echo_ald_crp()) and includes the widget title defined in the plugin settings, so the widget title appears twice.

    Here are screenshots of the same page with caching on and off:
    caching off: http://tinypic.com/view.php?pic=10zmmu8&s=5
    caching on: http://tinypic.com/view.php?pic=21pvyt&s=5

    The areas circled in red are the outputs from the plugin.

    Thanks for the plugin and for your help.



  2. Ajay
    Plugin Author

    Posted 3 years ago #


    Thanks for pointing this out. Unfortunately, it is a side-effect of the plugin.

    I have a plan to implement a bit more control on the cache. However, given the time and code required it might not be anytime soon.

    I will put in a parameter for echo_ald_crp() that should allow you to bypass the cache for this function.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contextual Related Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic