Forum Support

Shape 5
September 17, 2021, 08:23:09 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Code added to bottom of post with only this template  (Read 722 times)
originD
Jr. Member
**
Offline Offline

Posts: 6



« on: 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.
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: 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.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
originD
Jr. Member
**
Offline Offline

Posts: 6



« Reply #2 on: 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.

Apologies:Link Removed.
« Last Edit: November 21, 2016, 09:49:03 AM by originD » Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #3 on: November 21, 2016, 09:44:59 AM »

Can you post the shortcode you are using?  It looks like whatever is just before the
Code:
" template="default"
is causing the problem.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
originD
Jr. Member
**
Offline Offline

Posts: 6



« Reply #4 on: November 21, 2016, 09:48:33 AM »

Can you post the shortcode you are using?  It looks like whatever is just before the
Code:
" 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"]
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #5 on: 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.
« Last Edit: November 21, 2016, 09:54:27 AM by Tristan Rineer » Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.