Support » Plugin: Gamma Gallery » Gallery showing before content in page

  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, Ernest.

    Can you give me details about your workaround?




    Forum Moderator

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gallery showing before content in page’ is closed to new replies.