WordPress Plugins allow easy modification, customization, and enhancement to a WordPress blog. Instead of changing the core programming of WordPress, you can add functionality with WordPress Plugins
0
votes
3answers
36 views
How do I change the image from the default mysteryman in the WP Profile page
I work for a company that has recently added a plugin for WordPress. We have a company profile page, as the plugin owner, and we want to change the image from the the default mysteryman to a logo. I ...
0
votes
0answers
20 views
Zend Autoloder.php file missing?
I'm using a Wordpress plugin Zend Framework for wordpress and I'm downloading the actual Zend library to plug it into the plugin (it doesn't provide by itself) from ...
0
votes
0answers
29 views
How to get Internal Date Message Attribute in php - wordpress admin init hook
I am writing a wordpress plugin and need to show recent emails on plugin page.
I am using IMAP and want to keep track of UID, UIVALIDITY and INTERNALDATE to identify newly arrived emails but i don't ...
8
votes
1answer
102 views
How come `wp_options` table does not have an index on `autoload`?
In the beginning of each page served by WordPress, there is a MySQL call to fetch options:
SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes';
Because there's no index on ...
1
vote
1answer
43 views
Plugin developement and SVN
I'm going to develop a plugin for WordPress. My environnement is all set up with a local wordpress installation and Aptana Studio. I also have my own subversion server.
I have now to determine how ...
-1
votes
0answers
52 views
Fatal error: Call to undefined function wp_mail() in /home/
I'm writing a plugin that shows the newsletter form.
Whenever i use the wp_mail function in a file it shows the below error.
Error
Fatal error: Call to undefined function wp_mail()
Note: my file ...
1
vote
0answers
26 views
Wordpress daily cron is executing more frequently than once a day
I have a wp cron job scheduled based on what's in the options. In this case its schedule daily.
add_action('init', function(){
if( !wp_next_scheduled('product_posting_cron') ){
...
5
votes
2answers
95 views
Strategies to implement selective loading of plugins
I'm trying to figure out some kind of mechanism to load plugins on demand, depending on the page url, to improve performance.
My primary concern is that I have some admin-ajax.php calls that are ...
0
votes
1answer
40 views
Adding filter to the title without affecting the menu title
Hi I'm having problems with the the_title filter here's the code that I have:
function zen_title_filter($title){
if(is_singular()){
if(!empty($_GET['asin'])){
if($title == ...
0
votes
1answer
42 views
Determine which template-{slug}.php is being loaded
I am trying to make a personal plugin that does specific things based on what is loaded. In this example, in my action method I want to perform one function if the currently loading page is using the ...
0
votes
0answers
25 views
get_option include <br /> in my adsense
As title said I saved in wp-options -> option_value a adsense code but when I try to display to website in the code I get some
"<script type=\"text/javascript\"><!--<br ...
0
votes
2answers
28 views
What is the best way to store a few fields?
I'm researching what it would take to develop a custom Wordpress plugin. The plugin is a pretty small one. We just need to persist 2 fields of integer information. It's a pretty basic progress bar ...
0
votes
2answers
52 views
Widget redirecting to home page
Am trying to create a widget that searches for names. The searching and all that is fine, but when I hit submit, I get returned to the front page. I tried messing with the action="", but no matter ...
-1
votes
0answers
39 views
Upload image functionality in menu admin
I want to create a custom plugin or function inside functions.php where it allows you to select an image from default Wordpress media library and allocate for each menu. I then want this to be passed ...
0
votes
0answers
11 views
Deleting comments with meta data
I am trying to delete a bunch of comments using the admin interface, and I can't do this because of the errors below. The comments have associated meta data (I am working on a custom plugin) and I ...
0
votes
0answers
42 views
Script timeout when importing/inserting > 45-50 posts from an external table
Wondering if anyone can spot the obvious mistake or give me some guidance on where I'm going wrong.
I should also state this is my first plugin with Wordpress, so I'm sure I have overlooked ...
2
votes
2answers
186 views
How Do I Use jQuery UI In My Plugin
It's a sad day in the world when I Google something and it returns nothing. I am trying to use the default datepicker (or ANY datepicker at this point) and am unable to because of my lack of ...
2
votes
1answer
37 views
add_filter and remove_filter added before and after wp_query
I have just started with WordPress Development, and found following block of code online (in some tutorial)
function filter_where( $where = '' ) { // posts in the last 30 days
$where .= " AND ...
0
votes
1answer
56 views
Display custom fields in frontside user profile
I installed the CIMY User Extra Fields plugin to add new custom fields in theuser profile.
I added 1 custom field for gender to the user profile but it displays only in the admin panel user profile. ...
0
votes
0answers
47 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
33 views
Customize multisite site creation with user data
No, I've never made a plugin. But I would like to, or find someone who can work with me on it. What I'm hoping to accomplish is setup presets on site creation. I need my multisite to do this:
When ...
0
votes
1answer
34 views
Wordpress removing data attributes for scheduled post
Hi I'm using the smarty templating engine in wordpress to generate HTML like the one below:
<li>
<div class="checkbox_container" data-asin="B0009Y7APU"><input type="checkbox" ...
-1
votes
0answers
43 views
List custom post type URLs based on user form selection
I'd like to set up a form with dynamically populated radio buttons for all custom post types. Something like this:
custom post type 1
custom post type 2
custom post type 3
continued for all CTPs...
...
1
vote
2answers
52 views
How do I only load js on the post-new.php and post.php pages in admin?
I have some script that is loading in the admin. I only need it to load on the new post and edit posts screens.
What is the best way to do this?
1
vote
1answer
16 views
Including file or library from other plugin
I'm creating a plugin I would like to use from other different plugins. This plugin declares classes and functions. So, I am thinking about the best way to include, from one plugin, a php file present ...
0
votes
1answer
148 views
How to modify product page for Jigoshop
Hi I am editing Jigoshop loop-shop.php to create a customize look list and the code is below .... Please do let me know where I can get below things ...
Add to Cart - Link Only
Price Text - List ...
0
votes
1answer
41 views
Wp-admin Custom User Management
I am working on a plugin for which I will have to develop a backend page similar to the built-in "Users" one, in the sense that it will be basically do the same things: list the existing users ( using ...
0
votes
1answer
48 views
Custom Post Type Navigation on Custom Field
I'm working on a Custom Post Type sorted on a Custom Field. No problem when I list out the posts. But when I go to the single post page for one of these, I want the Prev and Next navigation links to ...
1
vote
2answers
57 views
Custom Post Type Plugin: Where Do I Put The Template?
I'm writing a custom post type plugin. Part of it I'm outputting to the template via shortcodes. But other parts need a custom post template, and I figured out how to use the template hierarchy for ...
0
votes
0answers
24 views
Wordpress cookie artificial manufacture for single signon
I am trying to integrate wordpress into django. What I am planning is to create the wp user table using django and when a person logs into django, I will create a wordpress cookie with ...
0
votes
1answer
20 views
Finding a post's slug
I'm using wp_query() to get custom posts from the database. I want to list these out as links to the entries, so I'm thinking I could use the slugs. Sadly these don't seem to be included in the ...
1
vote
1answer
28 views
Admin Posts List (edit.php) by post IDs
I'm writing a plugin that creates posts in bulk. I provide a way for the user to set certain parameters of the created posts beforehand. But it would be useful to use the WordPress default "All Posts" ...
3
votes
2answers
111 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 ...
1
vote
1answer
34 views
Two functions utilizing registration_errors filter
I wrote two plugins that utilize the registration_errors filter:
add_filter( 'registration_errors', 'process_payment', 10, 3 );
add_filter( 'registration_errors', 'add_user_to_SF', 10, 3 );
When ...
1
vote
1answer
43 views
Using ob_get_content to get_search_form puts into infinite loop
I am trying to change the look of my searchform. It basically needs to have two text fields. I want this to be in form of a plugin, which anyone can activate. SO obviously I do not have any control ...
0
votes
1answer
31 views
Capturing POST data
I am trying to modify the Member Status Plugin so that the status are based on the data saved on a custom database table.
Basically I wanted to change the administration menu with a form that can ...
0
votes
0answers
39 views
Recording geolocation data from user submitted form
I'm building the following plugin to allow users to submit posts with images via a form. It also generates geolocation information, which I want to store and use with the Geo Mashup plugin.
However, ...
0
votes
1answer
33 views
Redirect User to custom URL after registering
I modified the default Wordpress registration page to include a role and also payment fields. I am adding a Gold Member feature the my website, which requires payment.
I'd like it that after this ...
0
votes
1answer
75 views
calling admin-ajax.php from admin-ajax.php
I'm writing a plugin that calls the output of another plugin's ajax, which is set-up at wp_ajax_
I would have called the functions directly, but limitations in the plugin make that a non-option.
To ...
0
votes
1answer
45 views
Multi-part form and wp_redirect()
For starters, it's a plugin (with a shortcode) or at least I would prefer it to be.
I've got two issues both related to wp_direct.
If form 1 validates I want to redirect to form 2, and continue the ...
0
votes
1answer
62 views
Load php file with jquery in single.php
I implemented in my worpdress theme ios button switch and when someone click the button the script load a php file with the text: on or off
Here is the code:
<script type="text/javascript">
...
0
votes
0answers
49 views
PHP file edit ! beginner? [closed]
I am totally newbie to programming and want to edit this timesheet plugin . All I want to do is that make admin approve or reject it . Also add 2 other fields( Note and Comment ) to the list of ...
0
votes
0answers
30 views
How to add demo content to theme from outside plugin
I am devloping a new Wordpress theme that requires the installation of an outside plugin, called Revolution Slider. I would like to create a set of demo slider images for the user upon theme ...
1
vote
0answers
48 views
Am I not understanding plugins?
So I am trying to make it so that you can load a class from a child theme, theme or plugin using the following:
class AisisCore_Loader_AutoLoader{
protected static $_instance;
protected ...
0
votes
0answers
26 views
attachment_fields_to_edit stopped working in plugin following 3.5 update
Following an upgrade to WP3.5 Elvin, a plugin that duplicates images (by duplicating metadata, not by actually copying the image) stopped working.
The plugin, BDN Duplicate Images, is just one file ...
0
votes
0answers
15 views
How to access menu items object from within plugin?
how to access menu items object from within plugin? When I try to use wp_get_nav_menu_items() I get : Fatal error: Call to a member function get_page_permastruct()
0
votes
2answers
100 views
Headers already sent error with CSV export plugin
I have built a Wordpress plugin that allows the user to export all pages, with their levels and urls, to a csv file.
The problem I have is that I keep getting error messages when trying to export ...
1
vote
0answers
37 views
Wordpress Localization and Templating
I'm using Smarty Templates for the back-end and Handlebars for the front-end for the plugin that I'm building.
It's only now that I discovered that the localization doesn't work when I declare my ...
6
votes
1answer
70 views
API to trigger prompt on leaving page
I have a proprietary plugin that creates a metabox on the edit-post page. When the data managed by the plugin is edited and the user navigates away then we would like the user to be prompted as ...
0
votes
1answer
34 views
Dynamically generate meta tags and titles for a wordpress page
I have created a wordpress page that will output product details of a specific product from amazon: wordpress/product?asin=123
I'm just using the product page as a template and it really contains ...

