Tagged Questions
0
votes
0answers
12 views
One page site (returning from google) + history manipulation
I am making a one page site using wordpress.
The one page has all the menu pages linked into one, but there will be arbitary pages (landing pages) for subcategories and stuff at the moment.
I have ...
0
votes
1answer
27 views
How to make plugin work in each template in wordpress
I am new to plugin development .I want to get all images of a particular page/post and want to show them as slideshow below the page ..Currently i am able to gather all images in media library and ...
0
votes
1answer
32 views
Which hooks are essential for post templates?
Im in the process of building a very custom theme and Im beginning to work on the post templates, but I dont know which hooks are essential for them.
So like, I've seen (but cant remember where)some ...
0
votes
1answer
157 views
What filter or action hook to use in order to load some code before the template begins printing in BuddyPress?
I would like to load some code before the template begins printing in BuddyPress. What filter or action hook should I use?
I tried a number of them (such as bp_head, bp_include, bp_init), but none of ...
2
votes
2answers
188 views
Load different template file when condition met?
If I visit a page on my WordPress site, WP goes and determines what template file it should use based on the template hierarchy.
If I'm doing some logic checking in the hook init and say my ...
2
votes
2answers
2k views
When calling wp_title(), do you have to create some kind of “title.php” file?
... or does wp_title() already handle the various contexts in your blog?
This could clarify for me how I can achieve a reusable index.php file without having all the conditional statements inside it ...
0
votes
2answers
339 views
How do I override the search template in a plugin?
How do I override the search template i.e. used inside a theme with a custom search page inside a plugin? Please point our any relevant action/filter hooks which can be used to do this.
Any help is ...
0
votes
3answers
455 views
What action hook can I use to add a JavaScript to a page post using a theme template that is not including get_header() nor get_footer()?
So the reason why I am don't want to include get_header() or get_footer() tags is because this page will be loaded as an iframe using the thickbox modal plugin and its content will be a form and I ...