Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter grafica.villcom

    (@graficavillcom)

    I resolved one of the problem… shortcodes can be used with <?php echo do_shortcode('[my_shortcode]'); ?> function.

    So I can use your method to add one section. But what if I wanto to add two sections? If I repeat function add_my_custom_section() I get 500 server error…

    Hey !

    Please make sure your shortcode do not have any recursion functions or Infinite loops.

    Could you upload your shortcode code to https://pastebin.com/ I’ll take a look.

    Hi guy,

    You should make new function name, for example :
    function my_custom_section_2()

    Don’t repeat any function name. That is why you get 500 server error.

    Kind regards.

    Thread Starter grafica.villcom

    (@graficavillcom)

    Great!

    Thank you very much!

    You’re welcome ?? Glad we could help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding or Duplicate section’ is closed to new replies.