WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. boscoiscool
    Member
    Posted 1 year ago #

    Hey,

    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.

    -Alex

    http://wordpress.org/extend/plugins/contextual-related-posts/

  2. Ajay
    Member
    Plugin Author

    Posted 1 year ago #

    Alex,

    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

About this Topic