• Resolved nicdimmock

    (@nicdimmock)


    Hi
    When I have the FAGP shortcode on a page with some other text, the flickr albums are not rendered in the correct position in relation to the other content I have. This is normally the result of using an echo rather than returning the html content from the function that processing the shortcode.

    Do you think that is the issue here? It’s causing the flickr album contents to appear in odd places!

Viewing 8 replies - 1 through 8 (of 8 total)
  • These are possible reasons:

    1. Albums aren’t set to publically visible
    2. API Key isn’t correct
    3. Album ID isn’t correct
    4. Js error on page/post where you added shortcode

    Thread Starter nicdimmock

    (@nicdimmock)

    Photo’s are rendered so points 1,2 and 3 are not the issue
    No js errors are reported in the console.

    The problem is they are not rendered at the position of the FAGP shortcode.

    Two images to show my point:
    1. page editor in wp-admin: https://www.dropbox.com/s/cwdne8iehtvjclo/Capture1.JPG?dl=0
    2. rendered page: https://www.dropbox.com/s/ke7qanrfp9qmz9i/Capture2.JPG?dl=0

    hi @nicdimmock,

    Please share your website URL. We are working on your problem but it will be very helpful to solve problem if you share with us that which theme you are using and its free or not.

    Thank you.

    Thread Starter nicdimmock

    (@nicdimmock)

    Hi.
    The (free) theme is called sparkling by colorlib
    Can I send you the URL privately somehow? It’s a clean development server with very little security and no IP restriction plugins, etc.

    Sorry, I had to find an immediate fix for my client, so had to look at your plugin source code.
    The issue seems to be in flickr-album-gallery-pro-short-code.php
    You are outputting the javascript and html directly rather than returning it as a string from the function.
    (using echo / outputting html rather than ob_start() and ob_get_clean(), etc )

    Do you have an email address I can use to send you my URL?
    Thanks
    Nic.

    hi @nicdimmock,

    Thank you for sharing theme name with us. Yes you can share it on HERE.

    meanwhile we will check it on the theme.

    Thank you.

    hi @nicdimmock,

    We checked the plugin on theme, Sparkling by Colorlib. and the plugin is working. We have attached the screenshot with this reply. Please click on the below link.
    SCREENSHOT

    Please share the website URL with us HERE.

    Thank you.

    Thread Starter nicdimmock

    (@nicdimmock)

    Hi there
    Wondering if you received the URL to my site via your weblizar contact form, and were able to help further with my issue?

    It’s a DEV server so happy to install any test / debug versions of your flickr plugin

    Thanks
    Nic

    hi @nicdimmock,

    Please find our e-mail address on the top of the page in our website. Share the website URL there.

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘output doesn’t appear where the FAGP shortcode is placed’ is closed to new replies.