Gamma Gallery
[closed] Gallery showing before content in page (3 posts)

  1. e330
    Posted 3 years ago #

    First of all thank you for a great gallery plugin. Problem I had was that gallery on pages shows before any content (after header). Examning your source code I saw you write the html tags and echo some output from within the plugin code; this works, but due to the shortcode handling, the output is immediate (your should 'return' any output from a plugin); so I used ob_start(), ob_get_contents() and ob_end_clean() to return the output of the function to the core. While not ideal, this is a workaround that works OK. If you are interested, I can email you the changes.

    Regards, Ernst


  2. dadomani
    Posted 2 years ago #

    Hi, Ernest.

    Can you give me details about your workaround?


  3. esmi
    Forum Moderator
    Posted 2 years ago #

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else's topic.

    I am now closing this 10 month old topic as it references an older version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Gamma Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic