-
AuthorPosts
-
July 1, 2019 at 3:55 pm #1114908
I want to add a shortcode to show the content of a plugin in the theme.
I tried to add it in widgets, text and code block.
I used syntax as follows:<?php echo do_shortcode(“[example shortcode]”); ?>
and alternatively:
[example shortcode]
Thanks for your help
July 2, 2019 at 7:37 am #1115064Hey schuhgoettin23,
Try to set Disabling of template builder elements to Always load all elements in Enfold > Performance.
Let us know if it helps.Best regards,
NikkoJuly 2, 2019 at 8:50 am #1115082Sorry, does not help.
Where and how can I add an short code to display content of a plugin with the theme?July 2, 2019 at 3:11 pm #1115192Hi schuhgoettin23,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend and try to test it.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.Best regards,
NikkoJuly 2, 2019 at 5:21 pm #1115245The “Temporary Login Without Password” Plugin reported, that this email (Email address hidden if logged out) is already in use, so I added an admin, see private content
I added the shortcode in different syntax to site: “ResTab” but does not show the content of the pluginJuly 3, 2019 at 8:12 am #1115365Hi schuhgoettin23,
Thanks for giving us admin access, as well as providing the test page.
PHP codes will not work inside Codeblock, only html, css and js.
The plain shortcode does work however it was missing the -, you used this shortcode:[table reservation]
I just fixed it and added the –
[table-reservation]
It works fine.
Best regards,
NikkoJuly 3, 2019 at 10:21 am #1115411Thank you for solving this.
I´m glad, that I haven´t been to stupid, but the information about the short code from the Plugin was just wrong, because it sad
Enter [table reservation] to integrate this pluginJuly 3, 2019 at 6:06 pm #1115536Hi schuhgoettin23,
We’re glad that we could help :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘add plugin shortcode’ is closed to new replies.