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 (3)

0
votes
0answers
2 views

Suggestions on Approach to New Plugin I'm Stuck On

I'm a newbie plugin developer, and I've had an idea for what I though would be a simple to build debut plugin, but I seem to have reached a brick wall with it and wonder if anyone can suggest some ...
0
votes
0answers
1 view

Best way to conditionally execute javascript based on PHP variables in a plugin?

I have a Google Analytics tracking script to which lines need to be added if, for example, we're on a post (is_single()). I want to output the script in the footer using a plugin. I did this using ...
0
votes
1answer
1k views

How to Generate & Validate License Key for a Wordpress Plugin?

now as I've developed a very simple wordpress plugin, I want to add encryption to it. What I need is a code that generated serial keys (cryptographically), stores it in my database and then when ...
0
votes
0answers
3 views

Can we have same term slug in different taxonomies?

I am having problem when creating term with same slug in different taxonomies. I researched that Unique key is removed from slug in wp_terms table, so i am getting problem to figure out that why i am ...
0
votes
1answer
588 views

Automatically add child pages to menu

I've been reading through some of the questions and solutions people have already asked to no avail. I have 4 menus on my WP Site, each of which will have children. What I would like the menu to do ...
-2
votes
0answers
14 views

How to get all Event ID's of Plugin The Event Calendar? [on hold]

I'm Using The Event Calendar Plug-in. How To fetch all event id's? is their any function to get all ids?
-2
votes
0answers
8 views

How to remove malware in wordpress site? [on hold]

My site is hacked. I am searching lot of but not getting any solutions. Please give me any suggestion how to remove malware or how to find out malware in my wordpress site.
0
votes
2answers
36 views

How to quickly reorder posts in the admin panel that will persist for the wp-api

I generally use the Intuitive Custom Post Order plugin for any WordPress sites I work with so clients can order their posts visually. For this project, I'm using WordPress as an admin panel and ...
0
votes
2answers
20 views

Create Custom Post type that uses Page.php template

I am creating a plugin that registers a custom post type, and I want it to be displayed using the theme's page.php template, rather than the post.php. I set the hierarchical flag when I register it, ...
0
votes
0answers
14 views

WordPress loop by three meta values with random order

We have three custom fields with names plan_name1,plan_name2 and plan_name3. Need to check if these meta keys has values (1,2,3) OR (2,3,1) OR (1,3,2) OR (2,1,3) OR (3,2,1) OR (3,1,2) We mean ...
0
votes
3answers
2k views

Can't Update, Delete, install Plugin

I can't solve this problem. This started after I created a new sub domain. I can't update my plugins, install, delete. During an update it says "successfully update". After I goes back to my ...
-3
votes
0answers
34 views

unable to pass array variable to select field in metabox

I'm using this code to get data from text type metabox..this will create an array $args = array('post_type' => 'locations_add'); $prefix = 'nilgiris_'; $the_query = new WP_Query($args); if ...
0
votes
0answers
14 views

Customizing a category archive page through plugin

I have created a plugin that adds a custom post type called "Activities". This post type's archive shows all the categories, and then the categories each have a page that includes the posts contained ...
0
votes
0answers
13 views

Multi-step Frontend Filtering to Reveal Content

I'm not even really sure the best and easiest way to go about doing this - or what the right verbiage is to properly describe what I'm wanting to do. On my site I'm looking to change this selection ...
0
votes
0answers
7 views

install problem can't find wp-load.php file

This is probably a simple problem, but can't figure it out... 1) I installed the wordpress file directly under the xxxx directory; wp-admin, wp-content, wp-includes are all within wordpress file. 2) ...
3
votes
3answers
71 views

PHP Script to Download Latest PLUGIN Version

I use the following code in my PHP script to automatically download the latest version of WordPress... $wordpress_zip_file_url = 'https://wordpress.org/latest.zip'; file_put_contents("wordpress.zip", ...
0
votes
1answer
775 views

add a form on clicking download link

I have a download page in my website. There i have a download link. On clicking the download link a lightbox will appear which contains details such as name,email etc. I want to download the ...
0
votes
0answers
9 views

This works on posts and pages in admin and comments in frontend but not in user generated post…any help?

function abc() { add_action('comment_form', array(&$this, 'comment_form')); //add Type Pad to comment form add_action('user_form', array(&$this, 'user_form')); //This one is added ...
0
votes
0answers
16 views

How to install plugin without dynamic DNS

I have an WordPress site installed on my laptop. Now I wants to install a plugin but I don't have an dynamic DNS (e.g. www.example.com). I only have the local IP address (e.g. 192.168.0.100). Now when ...
-1
votes
0answers
9 views

My post not publish yet and without any error show

I have problem in my Facebook instant articles by using WordPress. The problem is show me like this picture : http://i.stack.imgur.com/ot8A5.png When open to edit and show error, its show me: ...
-2
votes
2answers
20 views

Wordpress Smart Iframe Browser [closed]

How to browse other website without leaving domain? for ex. my website is websites1.com and i want to someone to goto website2.com but doamin name in address bar must be website1.com only.
0
votes
2answers
841 views

Form isn't inserting data into database with ajax plugin

I've been working at this for weeks without success. I've figured out problem after problem with the code, but none of the corrections seem to fix my core problem. The form doesn't insert anything ...
1
vote
0answers
53 views

Display a slider in every post having featured images of that particular post only

I have installed a plugin "Dynamic featured image" to have multiple featured images in each post. What i intend to do is display these featured images in a slider in each post.What i have done till ...
-3
votes
0answers
10 views

How to make custom layout for WCK Frontend Posting? [on hold]

I wanna to know how to make custom layout for WCK Frontend Posting ?
0
votes
1answer
21 views

What goes into wp_postmeta and why?

we are using WordPress in a site that has Places and eventsOn running, however we notice that sometimes the newly inserted place data goes into the wp_postmeta table others it doesn't... Searched for ...
0
votes
0answers
17 views

Escaping and sanitization

I have created a custom metabox for a certain plugin - events CPT. In it I can add talks by event days, with images, speaker names, descriptions, titles and times. So all either input fields or ...
-1
votes
0answers
27 views

Headers already sent error when activation hook

This code : <?php class Planner_plugin{ public function __construct(){ register_activation_hook( __FILE__, array( 'Planner_plugin' , 'install')); ... } ...
0
votes
1answer
19 views

Attachments plugin cannot click media library button [on hold]

I have installed the Attachments plugin (version 3.5.7) to upload multiple images to a post in my post type 'shop'. The problem: For some reason I cannot click the insert button of the media library ...
0
votes
1answer
24 views

Translating string in Woocommerce Cart [on hold]

I usually don't have trouble translating WP and it's plugins for my customers, but this one string is driving me nuts. In the cart there is this line that tells the included tax next to Totals. For ...
0
votes
1answer
6k views

How can items be programatically removed from Woocommerce shopping cart

How can items be programatically removed from Woocommerce shopping cart without refreshing the page - ie using AJAX?
0
votes
0answers
14 views

function of parent not working in childtheme

I have a plugin used on a parent theme which uses shortcode. The plugin (shortcode) works on the parent theme but when I switch to child theme it no longer works. I've only added the child theme code ...
2
votes
1answer
62 views

How can I reuse the Wordpress search form for a custom plugin / widget?

I need to develop a custom widget to display posts, based on their ID. The user must be able to handpick posts. Right now, they can enter the post ID, but it is not convenient for them. Is it ...
0
votes
0answers
30 views

Problems implementing jQuery plugin

I'm trying to create a slider using a jQuery plugin in the single.php of my child theme. I want to use a slider that uses thumbnails below the main image to navigate. I'm currently trying to implement ...
0
votes
1answer
25 views

Wordpress Registration Email by Role

I'm wanting to send out a custom html email to a new user based on their role during registration. So, I have 2 roles that will be specifically registering on the site: photographer and subscriber and ...
-4
votes
0answers
20 views

show avatar image in a post using metadata, the avatar should be called form User Pro plugin [on hold]

I am using 2 plugins: User Pro for registered profiles, and Ess. Grid to show posts on a page. What I want is that the user profile pic form the User Pro plugin will shown as meta data at an Ess ...
0
votes
1answer
2k views

Get main term from a sub term in Woocommerce

I need to show MAIN term sub term 1 sub term 2 … Every time I click on sub term. I mean, I don't want to show the other MAIN terms, just the one I select with the sub terms. In ...
0
votes
1answer
21 views

Visual Composer custom markup for custom shortcode (vc_map)

Trying to get custom_markup to work with the Visual Composer builder for WordPress. Here's some documentation for the vc_map function ...
0
votes
1answer
17 views

mu-plugins Aren't Loading - Need Help

I've looked at other posts regarding mu-plugins but I don't understand yet. Here's the situation: My site is hosted by a service that automatically set up 2 caching plugins. Cloudflare and OP ...
1
vote
0answers
50 views

disable active plugins for specific theme

I want to disable some plugins from a specific theme.I am using deactivate_plugins hook to deactivate. following is my code. add_action('wp_head','disable_plugins'); function disable_plugins(){ ...
-1
votes
0answers
7 views

need help in custom single product woocommerce [on hold]

can change destitute variation attribute field in single product woocommerce form one column vertical to two or three columns? as attach file
0
votes
1answer
466 views

Exclude post by custom meta with pre_get_posts

I'm creating a Custom Post for an event calendar. My Custom Post has 2 custom meta fields called "event_star_date" & "event_end_date". I want to use pre_get_posts to exclude Events which their ...
1
vote
0answers
31 views

Editable form for WordPress plugin options page

For my new plugin Scripts and Tags Manager I want to add the possibility for the users to edit rows and add / remove rows. Each row is a form element that contains a text field for the dynamic ...
-1
votes
0answers
10 views

ACF flexible content repeater [on hold]

I'm having trouble inserting a repeater within a block of flexible content, have tried a few different ways but it breaks each time. Am able to keep creating new blocks like the callout-panel but as ...
0
votes
0answers
13 views

Move Variations woo commerce to under Product's image [on hold]

For our woo commerce's single product page we need to move the variation section to under the product's image; since it is creating waisted white space. We have tried hooks but didn't find the ...
1
vote
3answers
49 views

How do I apply style to each category of a list?

I need to create a simple plugin to show a list of categories inside the body of the post and, as I am new to coding, I searched for the basics and started to make little changes; it looks like this, ...
0
votes
2answers
847 views

How to redirect to edit.php page after saving the post,product and showing the message “post saved ”

I am trying to redirect all post pages, once a post or products are saved. It is redirecting to that page but it is not showing any message. Let me know how to register message for particular pages at ...
0
votes
2answers
11 views

WordPress core update fails - no issues with plugin updates

My WP installation does one-click plugin / theme updates without any hiccups, but updates to the core always fails. No specific reason is cited, except for a suggestion that it may be due to file ...
0
votes
2answers
23 views

How do you override the default comment template?

I have a custom user database that is integrated with a wordpress website using a custom built plugin. I also want to integrate this user system into the comment system. I have found and completed ...
0
votes
1answer
26 views

Is there any hook to change media html in post? [duplicate]

When I add image to a post, wordpress makes this html format in theme. <p> <img class="aligncenter size-full wp-image-455" ...
1
vote
1answer
440 views

How to disable specific plugin in mobile version?

I am using wp-cufon plugin , to enable cufon on my site . But I do not want cufon in mobile version . If there is any way to disable that plugin in mobile version or in just disable specific java ...