Plugins are tools to extend the functionality of WordPress. This tag should not be used to mark requests for plugin recommendations, which are off-topic per the FAQ.

learn more… | top users | synonyms (2)

0
votes
1answer
41 views

Where to insert customize_register in wordpress plugin

I'm developing a plugin... well trying to... for wordpress that adds a parallax header in a theme. I want to have a customizer section for my plugin, but where ever I try to add the customize_register ...
0
votes
1answer
18 views

Write mysql credentials in plugin

I've to create a custom plugin to print data from a database different from the wordpress one. I'm using wpdb. Is it fine, from a security point, to write database credantials in the plugin files in ...
0
votes
2answers
38 views

How to create plugin list groups?

How do I create more of these? so that i can create proper plugins categories in the network plugin dashboard of wordpress.
0
votes
1answer
16 views

Merge custom plugins in one folder

I've made some plugins to print some text with php from the database. I use them in pages via shortcodes. If I put all the code in only one folder, so just one plugin, only one shortcode works,the one ...
0
votes
2answers
45 views

Get page content by ID (from a plugin)

I'm stuck on loading page content by id (through a plugin). What I have is the following: <?php $my_query = new WP_Query('page_id=39'); ?> <?php while ($my_query->have_posts()) : ...
0
votes
4answers
95 views

Wordpress Plugin development Call to undefined function jQuery()

Seriously, I lost my whole day with this... Either I completely missed the point... Or I really cannot find the proper information on the internet... Everywhere I find they say to load jQuery in the ...
2
votes
1answer
13 views

Get Plugin Information from Multiple Sites Externally

I'd like to create a dashboard of sorts of plugins I'm using on multiple sites. I'm able to use get_plugins() to gather the information I want within each site, but how can I make that data accessible ...
0
votes
1answer
33 views

Locked out of admin panel after installing HC Custom WP-Admin URL [closed]

I installed "HC Custom WP-Admin URL" plugin (https://wordpress.org/plugins/hc-custom-wp-admin-url/) on my WordPress installation, and then changed the admin slug value to a cryptic url ...
0
votes
2answers
37 views

Disable Checkbox depending on state of another checkbox

I'm trying to disable a checkbox depending on the state of another checkbox. <form action="options.php" method="post" id="form_submission"> <table> <tr> ...
1
vote
1answer
64 views

$wpdb->get_results leaking memory

I have developed a wordpress plugin that reads large custom xml files and imports the information as custom post types and a lot of post meta information. So I am calling a lot of database ...
0
votes
1answer
39 views

How to display checked posts on another page over AJAX? (like comparasion style)

I wanted to create an "comparasion" model for my WordPress Website, but gone bad at that. I cannot figure out how to ... On one page I have displayed post (custom post type, ex. "Products"). Next to ...
5
votes
1answer
33 views

Plugin Unit Test for Table and Option Creation

I've started to incorporate unit testing in my build. I have a class that creates a database table and a database version option. I have no idea how to test if the table and option are being created. ...
0
votes
1answer
16 views

Creating custom URL for async content

I am using a fully asynchronous Javascript/jQuery portfolio gallery (Grid Gallery template in Photolux theme). When a portfolio item is clicked, the item's details loads. It is built-in in the ...
1
vote
1answer
21 views

Prepare plugin options for multi-lingual support

I'm looking for a way to make my plugin's options available/translatable across a multi-lingual site. For example, several of my options are text strings that are then used on the front end. echo ...
0
votes
1answer
26 views

Doubt using $wpbd->get_col for a single column

$table = $wpdb->prefix . 'posts'; foreach ( $wpdb->get_col( "DESC " . $table, 0 ) as $column ){//get all columns from wp_posts echo "<div><p>". ...
0
votes
0answers
27 views

Add user role and add capability to view the plugin from that role

I have created a different user role. I want that role to view my plugin. I have tried adding the capabilities to that role. But it doesn't show up on their dashboard. What to do?
-6
votes
1answer
29 views

Which banner plugin is this? [closed]

Which plugin is the main banner on this demo website ? I've wasted much time looking for it. I just couldn't find it. http://template-demo.org/woo/WCM01/WCM010013/WP1/
0
votes
0answers
28 views

Editing dashboard according to the userrole

I'm relatively new to PHP, I'm editing a plugin that restrict demo users with the role of (subscriber) from some capabilities, and it modifies the dashboard for the demo user(subscriber) and remove ...
0
votes
1answer
17 views

Help with sorting and storing data on Wordpress

I want to implement something where users can log in and review products and search for products to see reviews. I want to store multiple attributes to allow for really refined searches. I need things ...
0
votes
0answers
19 views

Getting warning while deleting custom fields

I have created a custom post type and added custom fields in the WordPress backend as you can see in the screenshot But now when I try to delete this custom field, getting this warning You do not ...
0
votes
1answer
11 views

Plain <a> links in single-class.php and archive-class.php not working

This seems like it should be super-easy to resolve, but it has me stumped. All the links on my page added via get_header() and get_footer() work just fine. The links added via single-class.php and ...
0
votes
1answer
30 views

How to build a navigation menu for long-form texts like this one

A menu like this one here (on the right–hand side) – http://tenxer.github.io/xcharts/docs/ – makes it much easier to navigate through long-form texts. Do you know of a way of implementing something ...
0
votes
0answers
23 views

Turn off Plugin Manually

I have installed and active wp-super-cache plugin, and It cached an PHP syntax error. I solved the error but can't run my website again because the error.log is still displaying the same error. I ...
0
votes
1answer
38 views

CMB2 installation - cannot get it to work

I have followed the documentation on this page: https://github.com/WebDevStudios/CMB2/wiki/Basic-Usage but cannot get it to work. I have gone through other posts with the same issue and tried all of ...
0
votes
0answers
31 views

Pushing changes from staging to production?

I've been doing enough work lately that I'm finding the process of moving WP data between sites to be a bit more time-consuming than I'd like. I know there's another question here that is similar, ...
0
votes
1answer
40 views

Call/Run a Shell Script from Wordpress Page/Blog

Is it possible to run a shell script from a Wordpress page or blog post? There doesn't seem to be a plugin available or way to do this. The script would need to take values inputted in the page ...
0
votes
0answers
59 views

Updating WP & WP plugins suggests that there are configuration problems. What's up?

Warning: Cannot modify header information - headers already sent by (output started at /home/a26jul07/domains/creatiefcontact.nl/public_html/wp-includes/update.php:295) in ...
0
votes
1answer
43 views

Using wpdb without loading all plug-ins via wp-load.php

I'm trying to prevent WP from loading all plug-ins when including wp-load.php, since I don't really need them nor the usual WP actions/filters. All I need is the WPDB class to query the database ...
0
votes
0answers
30 views

Removing trailing slash from add_rewrite_rule custom page

I'm currently working on a plugin to add a new page to display data from a custom database table. All is going well so far but when I access the new URLs they are 301 redirected to the same url with ...
0
votes
0answers
38 views

Question about WPML Plugin

I was working with the WPML plugin in my localhost and everything was working just fine, but then I migrated everything to a different server and then I have some errors when I switch languages, those ...
0
votes
0answers
35 views

Disable a plugin on a specific (single) Multisite Page

I've a little problem with my multisite. Since I use WP Piwik the sites automatically get a Piwik ID (that's fine). Now I have one specific site (dev.xyz123.com) where I just set up an optimized ...
0
votes
1answer
33 views

How can I globally italicize certain text?

I have a large WordPress site, and I want to take a certain text phrase and italicize all instances of that phrase, for all pages. Does anyone know of a plugin that can do this? Particularly, for ...
0
votes
1answer
58 views

<p> tag breaks shortcode output (other solutions don't work)

I just encountered weird problem. My shortcode output which is something like '<span class="link_container"><a href="#">'.$content.'</a></span> <div ...
0
votes
2answers
25 views

display a slider outside of subdomain folder wp

We installed wordpress in a subfolder which is /news but now we want to make some changes to our homepage, which is not inside wordpress. We would like to install a slider wordpress, with a drag & ...
1
vote
1answer
45 views

Nested CPT URLs + Posts 2 Posts

I'm working on a client site that has two different custom post types: artist and portfolio. I'm using the posts-to-posts plugin to create a relationship from each artist to their portfolios. Artist ...
0
votes
0answers
27 views

Wordpress Site Pages 404ing - Help with Permalinks on IIS?

I'm developing a site that has been migrated live but now every page except for the home page 404s upon linking to it. I've done extensive research on this and nothing has helped. Let me list out the ...
0
votes
0answers
39 views

Using an iframe/plugin outside wordpress

I have Wordpress installed on my website, which I normally edit in dreamweaver. I use a few plugins in wordpress that are extremely useful; normally these generate their own page and I either use an ...
0
votes
2answers
26 views

Posted posts scheduling to unhide for new members

So I came up with this idea. It works like autoresponder, which send already prepared and scheduled content every 7(let's say) days to a all subscribers. And for a new subscriber it starts from the ...
0
votes
0answers
15 views

Wordpress audio player add class randomly using Audio Album plugin

so i have this player displaying a progress bar, but when i click play, a "style" is added to the progress bar class on several span class. It's either width: 0 or width: 197. I'm using the Audio ...
2
votes
1answer
28 views

how can i limit the number of instances for my widget

I am developing a generic widget that randomly selects an image to be displayed. I only have 5 images to choose from. Is there any way to limit the number of widgets to 5, so that there are no repeat ...
3
votes
1answer
93 views

register_taxonomy with multiple object type and update_count_callback

The register_taxonomy accept array as the object type so I can link as many custom post types to a custom taxonomy. That is fine. The issue is, the default taxonomy count is always zero with the ...
0
votes
1answer
33 views

How can I translate a plugin's text?

I'd like to change some translatable text of a plugin I'm using, Buddypress Group Email Subscription. The text is: No Email (users will read this group on the web - good for any group - the default), ...
0
votes
2answers
55 views

How do I make my plugin load before the headers are output so I can redirect wordpress?

I wrote some code, that helps secure my clients files, and added it to wordpresses function file. however, whenever updates come in, it obviously overwrites my function. So I wanted to create it as a ...
0
votes
1answer
30 views

How to add an extra, independent set of custom fields?

I'm looking for a plugin or sth to let the admin enter a list of specs (name & value) for a given type of post. The regular custom fields would work perfectly but of course, they are used by some ...
0
votes
0answers
33 views

Force an image upload form field to display as checkboxes

I'm using a plugin called Media Library Categories which adds category taxonomy to media files, so I can give images a category denomination. It works and displays as checkboxes in the Edit Media ...
0
votes
1answer
54 views

post_parent in custom post type

I've two custom post types, type1 and type2 My current workflow of creating contents, from the user perspective a user created posts of type1, i.e. post1, post2, post3 on a particular day our ...
0
votes
1answer
27 views

Should meta boxes for specific pages be save in their own plugins?

I realize this is a subjective question, but I need some opinions on where to put functionality like meta boxes that belong to specific pages. Let's say I have a template called Gallery Page. On that ...
0
votes
1answer
37 views

add function to saving change on Options Pages

i make page like this link and it work fine but i need to run some script after it like editing a file i was add it to function my_function() { //do something } function register_mysettings() { ...
0
votes
1answer
41 views

How to Order Sticky Posts? [duplicate]

I've got a sticky post that i would like to move down to third position in between my regular posts on my site and for it to stay there permanently? I've already downloaded a few different sticky ...
1
vote
1answer
36 views

A very basic question - how to properly use wp_mail() in a plugin

I have been trying for a while now to use wp_mail to send an email from within my plugin. The code I'm using is as follows. function add_page_content_Send_Feed(){ echo "<h2>Send your feed ...