• Resolved saratsharna

    (@saratsharna)


    When I deleted the pre-code some of the short code options stopped working. There are only 2 columns even though I specified 3, and the manual columns breaks I specified aren’t working. It’s not excluding the tag I specified, etc. The only way to see those options as I have specified is to put the pre-code back in, but then it does that “stair-case” thing.

    https://wordpress.org/plugins/multi-column-tag-map/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author tugbucket

    (@tugbucket)

    Have a link? And, can you take a screenshot of your admin (HTML view) before removing the pre-tag?

    Thread Starter saratsharna

    (@saratsharna)

    The website isn’t public so I don’t think I can provide a link. I’ve included the html view with the pre-code below. I also took screenshots of what the tag map looks like with and without the pre-code but I can’t seem to be able to include them.

    <pre><code>[mctagmap columns="3"
    hide="no"
    num_show=""
    more=""
    toggle=""
    show_empty="yes"
    name_divider="|"
    tag_count="yes"
    exclude="proofread"
    descriptions="no"
    width="200"
    equal="no"
    manual="a,f,o"
    basic ="no"
    basic_heading="no"
    show_categories="no"
    taxonomy=""
    child_of=""
    from_category=""
    show_pages="no"
    page_excerpt="no"
    group_numbers="yes"
    show_navigation="no"
    css3=""
    ie9=""
    show_posts=""
    post_type=""
    page_hierarchy="no"
    show_child_pages=""
    post_tags=""
    minimum_count="0"]</code></pre>

    The FAQs on the plugin page said to remove the
    <pre><code> </code></pre>
    if you get the pre-code error (screenshot 5 – https://wordpress.org/plugins/multi-column-tag-map/screenshots/ ). But when I remove it, all other options that’s I’ve specified are ignored.

    If I am able to share screenshots, please let me know how.

    Thanks.

    Plugin Author tugbucket

    (@tugbucket)

    Alright lets’ start by cleaning your shortcode up. There’s no reason to define any options if you are not changing the default values. And, I’m not sure if it’s just the way the output is rendered above but having the line breaks in it could be the issue as well.

    Paste the below into your page using the HTML tab to do so and see what happens

    [mctagmap columns="3" show_empty="yes" tag_count="yes" exclude="proofread" width="200" manual="a,f,o" group_numbers="yes"]

    Thread Starter saratsharna

    (@saratsharna)

    I took out the options that were set to the default values but when I deleted the line breaks, that’s when everything fixed itself.

    I put the line breaks in to make it easier for me to differentiate between the options, but I didn’t realize the havoc it would wreak in the end.

    Everything looks great now.

    Thank you so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deleting pre-code error causes short code options to stop working’ is closed to new replies.