-1
votes
1answer
18 views

Overwrite functions.php of a theme - What if the theme is updated?

I have added a shortcode inside a functions.php file of my a Theme. I am wondering that if the theme changes, it might overwrite the current functions.php file. So, is this true? If so, where should ...
0
votes
0answers
30 views

How to make shortcodes parse in two different themes

I've got a mobile and a desktop theme for my website , but the shortcodes in my desktop theme are a lot more functional than the ones in my mobile theme, I use only the shortcodes in my desktop theme, ...
0
votes
1answer
42 views

How to activate a plugin on the activation of a theme?

I want to use the hide unwanted shortcodes plugin to hide unwanted shortcodes from my desktop theme when my website is visited by mobile users. I'm currently using the any mobile theme switcher ...
0
votes
2answers
32 views

div having different appearances in different themes

I have a shortcode in a plugin that is supposed to display a div. The div can be styled in the settings. The problem is: the div has different appearance in different themes. This obvious is caused ...
1
vote
1answer
35 views

Plugin Handle URL With Custom Theme

I need to develop a plugin in which a special page needs to be created. This page will have a completely separate design from the rest of the website, and will be located at a specific URL. I realize ...
3
votes
2answers
2k views

All shortcodes not working on custom theme

I'm using a custom theme not developed by myself that seems to have disabled/ or doesn't have the function for any and all Shortodes, whether its a WordPress shortcode or a plugin shortcode. I mostly ...
0
votes
2answers
251 views

Theme doesn't support shortcodes

How can I add shortcode functionality to a WordPress theme that doesn't support shortcodes?
-1
votes
3answers
234 views

do_shortcodes() isn't working

I'm making a homepage template for my theme and I want to call a plugin, namely royalslider. Surely do_shortcode('[gallery id= "1"]'); Should do the trick?
1
vote
3answers
3k views

How to Insert Shortcodes into Theme?

I have content locker plugin. For locking contents, im using this shortcode: [wp-like-locker] Your locked content here... [/wp-like-locker] and I need lock every post on my blog. How could I ...
0
votes
1answer
668 views

Removing Shortcodes from Child Theme

I'm trying to remove the shortcodes from a child theme. In my functions.php file (for the child theme), I've put: function my_remove_shortcode(){ return ''; } add_shortcode('entry-twitter-link', ...
0
votes
1answer
1k views

How do I hardcode a WordPress shortcode into my theme?

I am using WooTheme's Canvas theme and would like to "hardcode" in the [post_comments] shortcode into my theme. [post_comments] displays a comment link with comment count (ie Comments 10) in my post. ...
0
votes
1answer
336 views

how to stop a gallery slideshow

I am using the Dynamix WP theme. I have three images displaying in a loop with fade effect. The images continue to fade from one to other. However I would like to stop this effect once all images have ...