0
votes
1answer
26 views

How to replace settings in WordPress plugin from a theme

I created an array with some default settings in a plugin, and want to allow it to be replaced from functions.php in a theme without using stored data (eg. add_option). I want this to be just a hook ...
0
votes
1answer
47 views

How to correctly add JQuery in a WP theme?

I am pretty new in WordPress and I have the following doubt: I have to include JQuery into a theme and I am doing in this way: I create the following function into functions.php theme file and I add ...
0
votes
1answer
727 views

How to retrieve an image from a post and display it before excerpt of a post? [duplicate]

I'm customizing a WordPress template and I would implement the following behavior in the excerpt posts visualization in my homepage: If a post contains images (one or more), in the homepage post ...
5
votes
2answers
149 views

Template for individual post designs

I browsed through the suggested posts, and couldn't find anything that was exactly answering my question. I apologize in advance if I'm reposting something obvious here, but there you have it. I want ...
0
votes
1answer
356 views

Setting a post's category

I'm creating new categories with galleries taxonomy : $wpdb->insert("wpem_terms", array( 'name'=>'Custom Category', 'slug'=>'customcategory', 'term_group'=>0, )); //id of ...
3
votes
2answers
261 views

How can you develop on a live WordPress installation that is using W3 Total Cache?

Or to make it easier: you just want to disable the caching in order to see your changes in realtime. Any solution that would allow you to disable caching based on IP, logged user or cookie will be ...