- Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236
Naomi Johnson
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220Hi there
I’ve been programming the buttons using the shortcode. I know the code is working because it goes to load a page. However it always reloads the page I am currently on and never goes to the page I’ve set for it to go.
Is there something wrong with this code? Or something with the programming?
[button type=”default” size=”sm” link=”http://theprofile.company/the-new-start-up/”%5D Discover Your Profile [/button]
Grateful for your input.
Naomi
AdvertismentDeprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236Daniel Tara
KeymasterWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220I don’t understand the part “it always reloads the page I am currently on and never goes to the page I’ve set for it to go”. Does it reload the post editor? If so, that is normal behavior when you edit a post and you need to click the “View Post” link to preview the post. If it’s the post page that’s redirecting then that’s most likely caused by a plugin. Try deactivating them one-by-one and see which is causing the redirect.
You must be logged in to reply to this topic.