Shape 5

Wordpress Club Themes => General Contractor - Club => : originD November 20, 2016, 02:04:48 PM



: Code added to bottom of post with only this template
: originD November 20, 2016, 02:04:48 PM
I am using the next-gen gallery and some code is displayed at bottom of page.
When I use the Twenty-Sixteen template then it is not present.


: Re: Code added to bottom of post with only this template
: Tristan Rineer November 21, 2016, 07:53:23 AM
It looks like something is happening in the shortcode that you are using, but I can't really tell just by looking at a screenshot.

Please remember to always post a link to your site when having issues with something on the front-end; I can't even begin to diagnose the cause of a problem if I can't see what's happening and inspect the code with Firebug (http://getfirebug.com/).


: Re: Code added to bottom of post with only this template
: originD November 21, 2016, 09:17:49 AM
It looks like something is happening in the shortcode that you are using, but I can't really tell just by looking at a screenshot.

Please remember to always post a link to your site when having issues with something on the front-end; I can't even begin to diagnose the cause of a problem if I can't see what's happening and inspect the code with Firebug (http://getfirebug.com/).

Apologies:Link Removed.


: Re: Code added to bottom of post with only this template
: Tristan Rineer November 21, 2016, 09:44:59 AM
Can you post the shortcode you are using?  It looks like whatever is just before the
:
" template="default" 
is causing the problem.


: Re: Code added to bottom of post with only this template
: originD November 21, 2016, 09:48:33 AM
Can you post the shortcode you are using?  It looks like whatever is just before the
:
" template="default" 
is causing the problem.

Great, Thanks! I have removed the part causing problems.
slideshow_link_text="[Show slideshow]"

[ngg_images source="galleries" container_ids="1" display_type="photocrati-nextgen_basic_thumbnails" override_thumbnail_settings="0" thumbnail_width="240" thumbnail_height="160" thumbnail_crop="1" images_per_page="50" number_of_columns="0" ajax_pagination="0" show_all_in_lightbox="0" use_imagebrowser_effect="0" show_slideshow_link="0" slideshow_link_text="[Show slideshow]" template="default" order_by="sortorder" order_direction="ASC" returns="included" maximum_entity_count="500"]


: Re: Code added to bottom of post with only this template
: Tristan Rineer November 21, 2016, 09:52:06 AM
Ok, I see why it caused the problem.  WP sees the "]" from "[Show Slideshow]" and can't tell that it is not the correct place to end the shortcode, so it just stops processing at that point.