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.

learn more… | top users | synonyms (1)

0
votes
1answer
13 views

Fullwidth slider using background image Flexslider WordPress

I'm hoping someone can help, I have created a slider plugin using Flexslider that works using custom post types etc. Anyway, it all works great except, I want to set the image as the background of ...
0
votes
2answers
31 views

insert multiple entries in database using a loop issue

Update i have fix the first problem by changing the strectures in sending datas to database, now my problem is that when i select multiple choices and click submit only one of the choices is updated ...
14
votes
3answers
15k views

Add custom TinyMCE 4 Button, Usable since WordPress 3.9-beta1

How is it possible to add a custom button to the visual editor TinyMCE, Version 4? Currently I found this q&a with a little bit hints to the topic, but not a solution or a how to. But I can't ...
6
votes
1answer
96 views

Add self-closing shortcode button to TinyMCE in WP 4.6

I'm familiar with creating self-closing shortcodes like: // shortcode function wpse_shortcode_example( $wpse_atts ) { // Attributes $wpse_atts = shortcode_atts( array( '...
0
votes
1answer
11 views

How to Create Custom HTML Tag on Editor in `Text(HTML)` mode

Can you please let me know how I can add a custom Tag button into WP Editor in Text(HTML) mode like what I would like to insert into the Post is something like <hr class="dark-line-2" /> ...
0
votes
1answer
475 views

Widget plugin and input file

I am writing a widget plugin; and I want to insert an input tag:<input type="file"> to browse for a pattern in my widget plugin admin panel; but I have problem to save its value(address of the ...
-3
votes
0answers
10 views

Need Help in CCfrom plugin for a custom wordpress page

i am new to wordpress. I have created a wordpress theme (for a website). Where i have a contact us page. In this page i want to add a contact form which should be look like this. and contact form ...
0
votes
1answer
24 views

Plugin translations problem

I developed a plugin for my client in english by default. I created estonian and russian translation files. But my client installed wordpress with estonian language by default and now, when my plugin ...
0
votes
1answer
26 views

Autogenerate a Table of Contents

I am trying to generate a Table of Contents at the top of each of my posts and would like to minimize the requirements on the author. Ideally, the author would enter only various levels of the header ...
-1
votes
0answers
16 views

A simple 2d furniture planner plugin [on hold]

A client has asked us to provide a simple online furniture planning tool. The customer should be able to pick one of 10 furniture modules and arrange them in a line or an l-shape. The furniture ...
0
votes
2answers
27 views

Font Awesome stopped showing icons, shows &# text instead [on hold]

after migrating my WP site to a different domain and making adjustments, Font Awesome stopped showing icons and shows some weird text instead, for example & # 61505; (I can't copy it as a text, ...
0
votes
1answer
25 views

How do I check if my $wpdb->insert() was successful?

I'm trying to write a little script within my footer.php (which I'll later transform into a plugin) that send two form fields to a custom table (wp_newsletter). I'm already sending the form and ...
0
votes
0answers
19 views

Restrict a Shortcode use in text widget only

I want to ensure that a given shortcode can only be embeded in a text widget; and not in a post or page. I thought I could use the strip_shorcodes() function to Strip shortcodes except in a text ...
0
votes
1answer
439 views

Input with spaces in Shortcode attributes overwritten by defaults

question seems to be similar to the one asked here but the answer went down a different path. Pretty much if a user enters a shortcode attribute with a space it will get overwritten by the default ...
1
vote
2answers
15k views

How to add multiple images to custom post type?

I would like to create a simple plugin to add multiple images to a custom post type. I have created a plugin to add a single image to a custom post type, but I am unable to figure out how to add ...
0
votes
0answers
16 views

creating posts from excel random number of posts are created

I'm creating a plugin to import posts from a CSV file. The plugin is creating posts, but a random number of posts are created with an infinite loop. I have checked the while loop and for loop, they ...
0
votes
1answer
25 views

Plugin Development Output

I'm trying to put together a plugin of the onScrollBlur effect seen on Medium. At the moment I am trying to get output of the HTML via a shortcode, but I'm outputting nothing - including the JS and ...
0
votes
1answer
24 views

How to add a secondary button to a settings page with a custom action?

I have written a plugin that interfaces with a third-party mailing API. I have created a settings page for my plugin that includes two buttons: a submit button created with submit_button() which ...
1
vote
1answer
72 views

Filter, or any way to dynamically change theme screenshot image?

I'm building a web application on top of WordPress. Part of this will be to automatically reconfigure theme assets based on the industry my user is aligned to. For example, the theme will auto-...
-2
votes
0answers
24 views

How much PHP one Needs to Build a Professional WP Plugin - Basis WP Knowledge and a PHP assistant will help me to Build One Such Professional Plugin? [on hold]

I started only sometimes back to learn wordpress. Sometimes I feel that WordPress is too vast, but sometimes I feel that its coding practice can be mastered within 2-4 months. When I say that its ...
-1
votes
0answers
16 views

WP Super cache plugin set other plugin directory path

I don't know if there is anybody familiar the WP Super cache plugin, but according to the documentation it it possible to set the plugin directory to another path (the plugin is extendable by so ...
0
votes
0answers
12 views

preg_match_all() deletes regex delimiter each time wp_remote_get() is called

When I use wp_remote_get($url) to get data from query.yahooapis I receive a string, I pass that string through preg_match() so I can filter the information I want (In this case the price, the data ...
-2
votes
0answers
18 views

Is any tutorial available to learn wordpress step by step ? [on hold]

I have searched lot of websites to get step by step tutorials for wordpress, but i can't get any website like w3schools Could you please suggest any websites for learn wordpress step by step ?
2
votes
2answers
52 views

Page Reloads Before AJAX Request Finishes

I am working on a WP plugin, and I need to be able to call a URL (specifically an AJAX function) using a button click, but the page refreshes after clicking it, which I think is preventing the AJAX ...
0
votes
2answers
1k views

AJAX request not routing through proxy

I've built a plugin that uses AJAX to post a URL to the URL2PNG API and bring back a screenshot into WordPress via wp_remote_get. It works beautifully in my development environment. In production, ...
-1
votes
0answers
17 views

write data to database or write to text file in wordpress

I have successfully developed two versions of the same plugin. One stores data in the database (4 database queries for every site hit), while the second one stores the same data in a text file. In ...
0
votes
1answer
23 views

How does one set cookies in WordPress without getting the ‘headers not sent’ error? within WP

How does one set cookies in WordPress without getting the ‘headers not sent’ error? within WP, I can’t write a cookie that parses a shortcode without getting said error. Please note the snippet below ...
0
votes
2answers
22 views

Only admin should run wordpress plugin shortcode

I have created a simple plugin that locks down content for users not logged in and it is working fine. However any user on a multi-author site could use the same short code in his post to lock down ...
-2
votes
0answers
38 views

How to create a shortcode that displays an anchor link

How can I add this a href code to content in a shortcode? <a href="http://test.com" onclick="window.open("http://example.com","newwin");" target="_blank">Open Two Links With One Click</a> ...
0
votes
1answer
24 views

Return value of $wpdb->update() query in plugin is wrong

The return value of my update query on an empty database table is wrong even though my query syntax seems to be right. The ELSE statement is executed when I run the query on an empty table but no ...
0
votes
1answer
21 views

Delete Query executing regardless of WHERE Clause condition

I have a delete query that runs when it should not, the WHERE clause condition requires that the query runs once every 600 seconds(ten minutes) since the last database update: $delete = $wpdb->...
1
vote
4answers
549 views

WP Cron doesn't save <iframe> or <object> in post body

I am using wp_cron to auto grab posts from a remote website and save them in my wp db. NOTICE! I am executing my code from my plugin, not from my template functions.php or somewhere else. I have my ...
0
votes
1answer
14 views

Wordpress Plugin Tool Tip Helpers

Sometimes when I install a new plugin, it gives me "tool tips" or "helper boxes" floating around the screen at strategic places helping the user to understand the plugin better or certain features. ...
-2
votes
2answers
63 views

Onclick open posts displayed in slider in a popup

In the attached image, the posts are displayed in a slider style. When I click on post in the slider, suppose CArd5, then the details should of that post eg: the thumbnail, excerpt etc should be ...
0
votes
1answer
40 views

How can I add the Post ID to Class Name in Jquery?

In the custom Wordpress theme archive page, I will have Sharing icons for all the posts. Below is the HTML for showing Sharing icon: <span id="post-share-<?php the_ID(); ?>" class="post-...
-2
votes
0answers
11 views

Showing null records in YITH WooCommerce Ajax Product Filter in woocommerce

Using YITH WooCommerce Ajax Product Filter free plugin for WooCommerce and I am trying to hide categories with empty records. I have tried editing plugin class file yith-wcan.php and some other php ...
0
votes
1answer
22 views

Page template compatibility with different themes

I'm back to WordPress development after a long time away from it, and I'm currently writing a plugin for a client that I might find some use to some others. One part of the plugin includes a page ...
6
votes
3answers
4k views

How can I find plugins' slug?

I'm wondering how can I find plugins' slug (slug = internal name used by WordPress to do plugin updates and to determine which plugins are currently active)? It is usually plugin's folder name but if ...
0
votes
1answer
492 views

How to insert HTML/CSS/JS into my iframe plugin?

I currently have an iframe plugin that displays on a WordPress page by shortcode. Currently I have been displaying websites in my iframes "src" but I recently came across an issue to display my very ...
1
vote
0answers
27 views

WordPress plugin admin html being shown in Customizer iframe

I have a WordPress plugin that is focused soley on the admin side of things. I have a piece of HTML that is shown on all admin pages using the all_admin_notices hook. This worked very well, but I ...
3
votes
1answer
945 views

Error with Custom Admin Screen in iframe Thickbox

I have a plugin that adds a new admin screen in an iframe. I created a PHP file in my plugin, and I put a link with a class of Thickbox to that. Everything works just fine, but it produces a PHP error ...
0
votes
0answers
14 views

My plugin translation will only work partly

I've made a simple plugin that so far just creates a new role "Super Editor". I've made my translation files and added the load_plugin_textdomain-code within the plugins_loaded hook. function ...
1
vote
1answer
704 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
19 views

Generate and return a PDF file in functions.php

We have the following process flow: 1.) Users fills in a form (name and surname) 2.) Backend php scripts look for the record in local CSV files 3.) If record exists we would like to return the data ...
0
votes
0answers
85 views

Issue with iframe in TinyMCE

How does TinyMCE generate an iframe in the WordPress admin panel? Actually, I could not find out the starting point of the iframe which is generated by TinyMCE.
-3
votes
0answers
13 views

Gravity Forms + Custom Post Types: Interactive Google Map on Form to save Latitude,Longitude to a Custom Field on the Post

I am using Gravity Forms and its "Custom Post Types" addon. The "Custom Post Types" addon gives me the option to add Post Fields when creating Gravity Forms and allows the form submissions to create ...
0
votes
1answer
30 views

Does WordPress have something like timer hook?

Are there some timer hooks to trigger event like this? add_action("one_min_timer", "my_handler"); function my_handler() { //checking something every 1 min }
1
vote
2answers
33 views

how to create and show sessions in word press?

I am new to word press but know all the required PHP skills. I am using a form to create session in one page and then accessing those sessions in another page. I have done this already without word ...
-2
votes
0answers
13 views

How to create a dashboard inside a WordPress Theme?

I am trying to create a custom theme. Can a custom wordpress theme handle the website content and at the same it has a different dashboard for special logged in users?
0
votes
3answers
2k views

How to append new form elements in “Add New” form of Users in Wordpress admin panel?

I'm developing a WordPress plugin and I want to append some extra form fields in add new form of Users section inside admin panel without editing core files. Can somebody help me in achieving this.