Tagged Questions
0
votes
0answers
46 views
Get image URL from media library in input
On wp-admin/post.php?post=447&action=edit for example I have a link and an input.
The link appears as follows:
<a href="#" class="button insert-media add_media" data-editor="tj_image_url" ...
-2
votes
0answers
26 views
Can we use 2 seo plugin at a time [closed]
in my blog i'm using 2 seo plugins, google xml sitemap generator and robots meta. the problem is if i use robots meta along with google xml sitemap generator, google is not indexing my blog post. will ...
3
votes
2answers
106 views
Pass PHP variable to javascript
Is there any possibility to pass some PHP variables in javascript so I can use them later?
Only in single.php.
I heard about wp_enqueue_scripts but with that it is neccesary to declare a path to a JS ...
0
votes
1answer
53 views
How to use get_template part in the plugin?
I was using the entire template in the plugin, but I would like to use get template part, so that I can reuse the header and footer in the original template. The code is like this:
add_filter( ...
0
votes
0answers
35 views
Best Wordpress eCommerce With Support? [closed]
I'm looking for the best option to do a wordpress website that has ecommerce capabilities. Basically will be setting this up for someone, but want to have creative ability to do the layout in anyway ...
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
0answers
26 views
How to load data from main page in a wordpress template
I have this variable in page.php
$something = 'this is something in the main page';
Then I'm loading a template (still inside page.php):
load_template(dirname(__FILE__) . ...
-1
votes
1answer
162 views
Display HTML5 jQuery Audio Player On Front Page
I would like to display the plugin HTML5 jQuery Audio Player 'centered' on the front page of my site. The plugin comes with shortcodes for posts and pages but my front(home page) only works with the ...
0
votes
1answer
35 views
How can I use a file in my plugin as a replacement for single.php on custom-post-type query?
I am creating a Custom Post Type using a custom plugin. One of the requirement of the custom post type is to be presented in a table layout for print / email purpose.
It seems that the logical ...
1
vote
1answer
150 views
do_shortcode() doesn't work if shortcode contained in variable, works if shortcode passed as string
I'm developing a plugin, wherein one of the features is to switch out forms on a specific page by changing the shortcode within a custom field.
within my plugin file:
function getShort()
{
...
2
votes
2answers
119 views
How do I make a wordpress plugin with menu item etc
I've been reading documents, viewing videos, etc. on how to create a Wordpress plugin. I've learned how to filter a post, add txt to a post, use conditionals to see if the page is a single post as not ...
0
votes
1answer
70 views
Pull comments from one page/post into another page/post?
I am creating a facebook app via wordpress but some how need to pull the comments off my homepage and insert them onto another page, essentially what I am trying to do is duplicate the homepage with a ...
-2
votes
2answers
114 views
How to make a template using plugins [closed]
i am totally new to wordpress. someone suggested me to use wordpress to make website like this
www.thefunnyplanet.com
so i've spent a lot of time to make something like www.thefunnyplanet.com
...
1
vote
1answer
523 views
Is it possible to define a template for a custom post type within a plugin independent of the active theme?
I'm writing a plugin to manage data about open-source projects. I developed an object model and have successfully created all custom post types and taxonomies, as well as implemented the correct ...
-1
votes
1answer
123 views
Default taxonomy template in plugin, override in theme
Building off of this question/answer, I've sucessfully implemented the single view for my custom post types, but I'd also like to offer the same thing for taxonomies. I've looked through the docs and ...
1
vote
1answer
427 views
Custom Taxonomy in plugin and template
I have a plugin that I am developing that is using custom post types and taxonomies. My question is this. How can I load the content/theme data from my plugin on to the page when the go to the custom ...
1
vote
1answer
53 views
Template plugin for blog posts?
can someone recommend a plugin to do the following?
My wordpress CMS has two types of users: administrator and editor, both of whom are not technologically savvy, so they need things to be super ...
-1
votes
1answer
223 views
Make a Custom template for a specific category in wordpress
I am having issue with a custom category template. I want to create a new template for my specific category "VIDEOS" so that all posts under this category show in new style. Basically, i want to show ...
0
votes
2answers
716 views
Multiple Post Thumbnails Plugin - Need help with code
I am having problems getting this plugin to run but have had little success getting it to work, even after reading past entries. I would be grateful if you could see if the code is right.
Code in ...
3
votes
4answers
1k views
Consuming an external API in WordPress?
I have a client who has a WordPress website, and he want to extend it to add new functionalities. These functionalities are included in a website I have already done (a kind of search engine over a ...
0
votes
1answer
116 views
Show Homepage (only) Hits Count
I need a counter to put in my theme (using php) or widget to show homepage view counts
I've tried "Cystats" but i couldn't get 'only' homepage hits by it
how can I do this ?
(there is a idea to show ...
2
votes
1answer
593 views
Creating a wordpress plugin where users can override templates
I see plugins where users can override the plugin templates by creating files inside of their own theme folder, how does this work?
Is this a built-in part of wordpress or does it have to be written ...
5
votes
3answers
2k views
Is it possible to stop selected plugins from loading on certain template pages?
I have a template page that has form on that is only used once in my site. The form uses form validation using jquery validate plugin (such a great plugin). Once the cart66 Plugin is loaded, the form ...
0
votes
2answers
1k views
Pagination problem (plugin wp-pagenavi) with a custom post type?
I am currently developing a WordPress website with a custom post_type called "music".
I use the plugin wp-pagenavi to paginate content "music".
When I link on the first page, it's OK (see link below)
...
1
vote
0answers
124 views
[Plugin: DukaPress] Modifying template output [closed]
I'm building a catalog of publications for a Research Center with DukaPress plugin.
http://cea3.iscte.pt/publicacoes/occasional-paper-series/
Some publications are available for order, others are ...
0
votes
1answer
381 views
Calling the_excerpt from inside a plugin template file
Im trying to use the_excerpt form inside a plugins template file, plugin is wp-favorite-posts by default the plugin only lists and displays the saved post title, i have manged to get it to show ...
0
votes
2answers
406 views
[Custom field template plugin] Upload limited to 20 inputs file
am running the CFT plugin version 1.9.2 on a 3.1.3 wordpress site and in the admin i did set up 30 input file fields related to a custom post type. It all works fine until the 21st field (and beyond) ...
0
votes
2answers
329 views
Wp-minify doesn't seem to minify my JS code
I've added to the theme (twenty ten) a php template file in which I've written some javascript code.
I then created a new page and set it to use that template.
Then I installed and activated the ...
0
votes
2answers
281 views
Best practice for including plugin output in a template without using shortcode?
I need your recommendation for the best practice here:
A custom post type I have created
needs a list of attachments at the
end of the post content.
I have created a series of functions that handle
...
5
votes
3answers
2k views
Creating a default Custom Post Template that a Theme can override
I'm in the midst of building a Wordpress Plugin that adds a custom post type, for which I'd like to include a default template to display. Essentially, this is an event management plugin, and the ...
1
vote
1answer
269 views
List Category Posts rewrite necessitates rewrite of customised templates
I just upgraded the List Category Posts plugin from .17 to .18.3, and it broke my customised template :(.
My setup: WP 3.0.4 multisite network enabled, local installation with MAMP, PHP 5.3.2.
LCP ...
8
votes
4answers
1k views
Is there a WordPress plugin that registers a plugin file as a custom page template?
I need to create a plugin that makes custom page templates available in wp-admin. I'm wondering if someone has tackled this already, as it seems like a pretty typical process?
12
votes
1answer
7k views
Create custom page templates with plugins?
Is it possible to make custom page templates available from a plugin?