Okay
  Public Ticket #1579558
Shortcodes on pages not working, like list for example on worpdress 4.9xx
Closed

Comments

  • Jorge started the conversation

    The shortcodes from this theme are not working on wordpres 4.9xx when is it going to be fixed? a few months ago i submited a ticket with this problem, nothing has been done until this day. if you debug worpress theme it guives you some kind of error on your log.

    Hope to ear from you soon regards

  •  293
    Brian replied

    Can you please explain specifically where the error is (when it happens) and what the exact error message is? Thanks.

  •   Jorge replied privately
  • Jorge replied

    i i try to add a shortcode list type star or other on a sigle post nothing happens,

    the error when run debug is:

    [28-May-2018 11:35:26 UTC] PHP Notice:  Undefined variable: cssactive in /var/www/vhosts/site-name/httpdocs/wp-content/themes/Engine-Theme/engine/functions/theme.php on line 2659 [28-May-2018 11:35:26 UTC] PHP Notice:  Undefined variable: cssactive in /var/www/vhosts/site-name/httpdocs/wp-content/themes/Engine-Theme/engine/functions/theme.php on line 2659 [28-May-2018 11:35:44 UTC] PHP Notice:  Undefined index: name in /var/www/vhosts/site-name/httpdocs/wp-content/themes/Engine-Theme/engine/functions/admin/option-generator.php on line 161

  •  293
    Brian replied

    These are not errors, just notices. You have to wrap an html list in the shortcode if you want it to display:

    <ul>

    <li>list item</li>

    <li>list item</li>

    <li>list item</li>

    </ul>

    Wrap that whole thing in a shortcode.

  • Jorge replied

    i did that but nothing, if you instal this template you can see for your self that those functionalities i mentioned they are not working.

    you just need to edit some article and place

    <ul>

    <li>list item</li>

    <li>list item</li>

    <li>list item</li>

    </ul>

    and chose a list type and you will have the same error i'm getting.

    Regards

  •  293
    Brian replied

    Please paste in the shortcode syntax you are using.

  •  293
    Brian replied

    Here's an example from the demo site:

    [lists style="plus"]
    <ul>
    <li>List Item 1</li>
    <li>List Item 2</li>
    <li>List Item 3</li>
    <li>List Item 4</li>
    </ul>
    [/lists]

  • Jorge replied

    i will send a video that i made, please see the beguining i'm trying to add shortcode type list, nothing happens, but if i do type alert boxes, it works. on the wordpress version 4.82 they were all working. now it does not send the shortcode type list. and i'm sorry for the zoom in the video. i did not know that scrolling would zoom the video.

    Regards

    Attached files:  theme engine lists shortcode not working.mp4

  •  293
    Brian replied

    Thanks I see - so the shortcode works when you have the syntax in the editor, it's just the shortcode builder that automatically generates the code for you that's not working. Thanks for pointing that out, I'll have to do some testing to see why this specific one isn't working. But the shortcode itself renders correctly, so in the mean time just use the syntax (you don't need the builder to do so).

  • Jorge replied

    Yes, that's it. Thanks.

    When you fix your builder please let me know.

    Regards.