• Resolved Imagepremierbaseballkc

    (@premierbaseballkc)


    I am building a site for a baseball tournament company and I will have for example a page for each team. I am building the site with gutenberg and a couple other extra plugins for it. I wanted to set up a team page template and then have certain variables and just call the template shortcode for each team’s page that way if when I wanted to make updates to the look of the team page template I’d just have to change the shortcode code and it’d update all team’s pages.

    My page with the original code shows fine. If I copy the code and paste it in a new page it works fine. But if I copy the code and paste it in a shortcode and make a new page that only displays that shortcode there are a couple formatting issues that are arising.

    Is there anyway to have the output of the shortcode be exactly as like it is displaying when I paste the code into a page directly as to when I have a page display through a shortcode?

    ***And just to point out, it is displaying 99% of everything correctly so it for the most part is working as intended, it’s just a couple things throwing it off like for example I have tabs and the tabs aren’t functioning correctly when clicked. And I’ve tried things like when I created the shortcode use the code editor as opposed to visual etc…

    Am I just out of luck that HTML will render some things differently when it’s passed through the shortcoder? If so I am hoping to accomplish what I want with the WP All import plugin to make mass changes to pages.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Imagevaakash

    (@vaakash)

    Hi @premierbaseballkc, sorry for the delay. Shortcoder does not manipulate the code pasted. As per your explanation it looking there is some conflict in css/js in the page where the shortcide is pasted.

    First, can you please view source and see if the exact shortcode content is printed ?

    Seconds check for any JS console errors. (please note that shortcoder does not manipulate anything so issue can be something else)

    I can try to help you find any issue in your site though not related to shortcoder, but please check if there is any obvious errors.

    Thanks,
    Aakash

    Thread Starter Imagepremierbaseballkc

    (@premierbaseballkc)

    Thank you for the response, you are very kind.

    The more I looked into my issue, the more it was clear it was not a problem with the plugin but the issue was with the gutenberg tabs.

    I scrapped my original idea and am building the site differently so I don’t use the tabs like I was originally planning, so I’m good now.

    Thanks again for the response!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Losing functionality with shortcoder’ is closed to new replies.