Site logo

shortcode

Shortcode doesn't work at category

Dear Tom! Hello! 🙂 I use child theme. In functions.php I make next shortocde: function author_vkapk() { return 'Test'; } add_shortcode('author_vkapk_sh', 'author_vkapk'); It work at pages and at posts, but doesn’t work at category (blog) with posts which include this shortcode). On place where is shortcode should be, I see nothing.

GP and Beaver Builder – shortcodes and hooks

Hi I’m using GP and Beaver Builder. I put the following code in the “Before Header” hook. 1: [fl_builder_insert_layout slug=”before-header”] 2: <b>Test</b> Line 1 is a shortcode that displays a saved row from Beaver Builder. When I’m logged in, both lines run. I see the saved row and the rendered HTML. When I’m not logged … Read more

GeneratePress looks incompatible with Shortcode Exec PHP

Hello Tom I use the “Shortcode Exec PHP” extension to include in one page, the thumbnail, excerpt and a link “Read more” of another page. With GP theme, this extension just generates no output. I have deactivated all my extensions, “GP Premium” as well, but no better result. Could I sent you a temporary admin … Read more

Page Header shortcode not working

Hi Tom, On a site I installed the popular “Slideshow” plug-in v2.2.24 from Stefan Boonstra but the shortcode is not working. A shortcode ([slideshow_deploy id=’386′]) is displayed as !slideshow_deploy! I use the Page Header addon and enter the shortcode on the Content tab. See example website Thanks!

Shortcode in Menu Title

Hello, I would like one of my menu item to display “sign in/sign up” when not connected and display the user name when connected. Can we add shortcode to the menu items? Another method is to use two different menus which will be displayed based on the connection status. All of this requires a modification … Read more

Slideshow-plugin shortcode problems

Hi Tom! Thanks for your great work! I have a problem with shortcode [slideshow_deploy id=’1954′] in both GP-Hooks and in the page header fields. I am using the slideshow-plugin: https://wordpress.org/plugins/slideshow-jquery-image-gallery/screenshots/ It just shows something like in plain text: !slideshow_deploy! It works just fine with the same shortcode in the content of a page or a … Read more

php & shortcode help

First, thank you Tom for awesome support and helping me before with displaying header images based on post category!! Also, the add-ons are great. I’m stumped trying to use GP Hooks with the Advanced Post Slider plugin. I read several other forum posts, and what worked for them doesn’t seem to be working for me. … Read more