• Resolved BlueGermany

    (@bluegermany)


    I don´t know what I already tried to put the plug Eventlist in in my own theme. I read the introductions where I have to copy the functions into my theme but it don´t work – or I did something wrong.

    I copied all functions into functions.php which is part of my theme. But then my wordpress looks strange and all the code is shown.

    https://wordpress.org/plugins/event-list/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mibuthu

    (@mibuthu)

    Which instructions have you tried? The instructions in the FAQs?

    Thread Starter BlueGermany

    (@bluegermany)

    Yes. This one.

    Can I call the shortcode directly via php e.g. for my own template, theme or plugin?
    Yes, you can create an instance of the “SC_Event_List” class which is located in the plugin folder under “includes/sc_event-list.php” and call the function show_html($atts).With $atts you can specify all the shortcode attributes you require. Another possibility would be to call the wordpress function “do_shortcode()”.

    Plugin Author mibuthu

    (@mibuthu)

    See also this thread.

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

The topic ‘Plugin in own theme’ is closed to new replies.