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
0answers
7 views

wp_parse_args not insert it to options

wp_parse_args not inserting default value to options. But its printing results. $options = get_option('my_options'); $defaults = array ( 'logo' => 'http://domain.com/logo.png', ...
2
votes
1answer
26 views

Creating a menu page in a Object Oriented developed plugin

I am trying for the first time to build a plugin for Wordpress following OOP way. I am having some problems while trying to create a submenu page using add_users_page() function. Here is a simple ...
2
votes
1answer
32 views

How can a plugin run a script after being updated in MultiSite?

Imagine a WordPress MultiSite Network with plugin Foo in it (but only active on some of the sites). When upgrading plugin Foo from version 1.0 to 2.0, Foo would like to do some work in the database. ...
0
votes
2answers
32 views

How to delete remain data in WP database after deleting custom post via admin interface

I'm trying to create a plugin that will delete pictures and additional info from database on deleting custom post (sp_venue) via admin panel (wp-admin/edit-tags.php) In the plugin I'm using this to ...
0
votes
0answers
30 views

Saving custom form fields

I am creating a plugin. So far I have created a menu and a page containing the form. I want to save these form fields for any user with 'Doctors' role. I think it should be saved under wp_usermeta ...
0
votes
0answers
21 views

How to add tinymce to normal textareas (in wordpress admin)?

I have custom post type called coupon and custom taxanomy stores. At this page edit-tags.php?taxonomy=stores&post_type=coupon meaning while adding and editing stores I have a field called ...
0
votes
1answer
34 views

Custom Post Type - Permalink Problem

I am having a hard time implementing a custom post type correctly. I have searched for a solution for a long time but couldn't find any. Here's what I did: Freshly installed WordPress in my local ...
0
votes
1answer
23 views

Is there a way to order posts and custom post types as one group?

I have tried several plugins which seem to purport to do this (like this one), but they either don't or are very poor in their implementation and cause problems (the one linked seems to randomly ...
0
votes
1answer
18 views

I am Unable to access WP admin

I am unable to access my WP admin. Showing an Error message: Strict Standards: Only variables should be passed by reference in ...
0
votes
0answers
36 views

How make modular WP plugin based on OOP?

For example I have "my-plugin" plugin created using class: class My_Plugin { public function __construct() { } /** * Other code where I creating plugins admin pagec etc. */ } ...
0
votes
2answers
46 views

Description is not seen of my title in search engine?

I'm using Wordpress SEO plugin and I can also see my site in google search But in general settings of Wordpress I gave title as Gamers | Play game online and description and also provided some ...
0
votes
0answers
56 views

How can I rotate images in Wordpress?

I'm receiving the following error while I attempt to edit images within Wordpress: "Could not load the preview image. Please reload the page and try again." What would cause this? Wordpress ...
1
vote
1answer
37 views

Strip HTML comments from plugins in header/footer

Would anyone know a function or how to remove <!-- plugin inserted stuff--> from the header and footer so that they won't be visible when viewing source?
0
votes
0answers
8 views

Template redirect inside of plugin not redirecting

I have this inside of my plugin but it's not loading it ... function templateRedirect() { if(is_home()){ echo 'hello'; } } add_action('template_redirect', 'templateRedirect');
1
vote
1answer
27 views

Wordpress import does not fetch images, but just links them

I have used the Wordpress Importer plugin to export content from site 1 and import into site 2. When exporting content, i selected "All content" and downloaded the export XML file. Then when i ...
-1
votes
0answers
20 views

The Event Calender datepicker widget

The Event Calendar not provide datepikar filter widget for event so how to create this one. I want create event calendar date picker widget in sidebar with eventdate background. the event ...
0
votes
2answers
45 views

Posts to have category specific sidebars with the widgets

I'm using the Divi theme to build my website.My client wants News and Blog page on the same site, so I did this by using categories. My problem is how to achieve category(i.e News and Blog) specific ...
0
votes
0answers
22 views

How to get rid of error message of custom metabox in dashboard when moving out of edit page?

in plugins folder i'have custom-post-metabox folder, inside it custom-post-metabox.php, admin.js and admin.css. //code of custom-post-metabox.php <?php /** * Plugin Name: Custom Post Meta Box * ...
0
votes
0answers
18 views

csv format change in wocommerece

i have made my own custom code to download the csv of order it is quite working good but i need to give one space in after each coloum i mean to say if one value is coming in A than second value ...
0
votes
0answers
23 views

Wp plugin modification

i find a wp plugin what replace the external links, the problem is only check on post content, but not on fields in postmeta, this is the code what checks on post content: //returns content of post ...
0
votes
1answer
21 views

add_menu_page does not seem to work in a class

Here is some of my code: class proposal { function __construct() { add_menu_page('Topic Proposal', 'Topic Proposal', 'read', 'topic_proposal', array(&$this, 'writer_page'), ...
0
votes
2answers
73 views

Embed PDF into wordpress

is there's a way to show a PDF file inside Post in wordpress ? i used tag but if someone have Internet Download Manager , Dialog will appear to Download the PDF file if visitor click cancel they ...
0
votes
1answer
30 views

Hook Scripts and Styles in WordPress

As explained in this page, I have created a WordPress custom dashboard. Everthing works fine right now. But now I can't hook scripts and styles. Here is my code for hooking scripts and styles. ...
0
votes
1answer
15 views

See which user installed a plugin?

Are there any DB entries made when a plugin is installed, and if so does this indicate which user did so?
0
votes
0answers
29 views

Wordpress crashes when I click add new plugin

I recently uninstalled the plugin SEO Facebook Comments Since then when I click on add new plugin I get this error, Warning: ...
0
votes
0answers
22 views

How to add a profile pic and biographical info at registration page?

I am running a multi-author blog which is also open to new authors registrations. How is it possible that new authors are forced to include the following information to the registration page ...
0
votes
0answers
21 views

Plugin's Ajax request not working in multisite

I have setup multisite in wordpress for a client, and developed a plugin which was already working fine in single wp installation. I have given the some option to customize the plugin to all the ...
0
votes
1answer
28 views

Where does the code to add a lightbox effect go?

I am not a developer but am working on a Wordpress site for my church. It can be found in its "under construction" stage at Seminole Heights Baptist Church Test Site I installed the plugin for ...
1
vote
1answer
64 views

I have functions in my wordpress plugin. How do I get them to work for me?

This code is edited but comes from this site. If I want to use a remote website to insert data using the last function from a URL link how do I do that? My code is: <?php /** * Plugin Name: ...
0
votes
0answers
23 views

Wordpress and advanced custom fields subcategory inherit category color automatically

Hi is it possible if I added a subcategory and inherit the parent category's color? currently im using advanced custom field plugin. i dont know to show it inthe front end that if the user left the ...
0
votes
0answers
18 views

WP Clone by WP Academy need to restore using Zip instead of URL

I have used WP Clone by WP Academy to clone my old web site. Successfully copied to a new host and have now terminated my old hosting. The new site is now blank. I can not restore from URLsince I ...
0
votes
0answers
33 views

building custom simple shopping cart using wordpress plugin

i want to build custom wordpress base shopping cart using plugin, i'm new to building plugin, i can build theme easily. i have custom table which i can use as custom post types too that will act as ...
0
votes
0answers
27 views

Auto play video full screen and redirect

I am having trouble locating a plugin or finding out how to create a page that auto plays youtube video and after it's finished playing, redirects it to another page. Lightbox does not work for me ...
0
votes
0answers
25 views

wp_insert_post hook not being called with wp_publish_post or wp_insert_post?

I have a plugin that converts hashtags (any text that starts with #) into Wordpress tags. It's working great when I manually create a post via the Wordpress dashboard, but doesn't work when I ...
0
votes
0answers
25 views

Create custom 'page' with plugin

I haven't been able to find this anywhere else so I thought I'll ask here! My plugin creates a custom post type with the various front-end rewrites, and I'd like to create a page on the front-end ...
-2
votes
1answer
14 views

Wrapping code in an if block

Breadcrumb trail shows on all pages, except I need to remove it from the homepage. Here's my code so fare. <?php if( !is_front_page ):?> <div class="breadcrumbs" style="position:absolute; ...
1
vote
1answer
70 views

Disabling Comment Notifications for Post Author

I am trying to disable comment notifications for post authors (or anyone else besides the site's admin) for a client's site. I've attempted to create a plugin that uses the pluggable function ...
1
vote
0answers
21 views

Plugin: How to make links in admin page open up inside of the admin panel

In writing my plugin, I have added my menus and submenus to the admin page. The pages load and function as intended. What I am trying to do is create some links inside of these pages that will pass ...
1
vote
1answer
20 views

Read text defined under __()

I am new to WP Plugin development. I have a theme where texts are included inside __() function for translations, like: __('This is text to be translated'); I want to create a plugin which would ...
0
votes
0answers
28 views

Wordpress Plugin Shortcode Help

I am trying my best to get rid of this pain when creating a Chart Plugin. I have registered custom post type to add every single chart with specific meta boxes. Everything works fine except the ...
0
votes
1answer
19 views

Plugin hook not working on specific Wordpress installation - how to troubleshoot?

I'm trying to write a simple text replacement plugin, but I'm having an issue that I can't figure out how to troubleshoot. This is the test plugin I'm using as a starting point. It works fine on one ...
0
votes
0answers
12 views

Pull next article on last page of gallery pagination

I am using ByREV Gallery Pagination Plugin found here: https://wordpress.org/plugins/byrev-gallery-pagination-for-wordpress/ I am attempting to redirect the user once they reach the last page of ...
0
votes
0answers
14 views

PhotoPress Gallery plugin cannot retrieve my photos after overriding the gallery output

I am using PhotoPress Gallery plugin and PhotoPress taxonomy by padams to create a gallery using terms and keywords on my Stock Photo site. It's working well until I decide to override the Gallery ...
0
votes
1answer
15 views

How can I create a plugin installation link?

Currently, my code is generating the wrong nonce, I guess. Here is the code: $action = 'install-plugin'; $plugin = 'akismet'; wp_nonce_url( add_query_arg( array( 'action' ...
0
votes
0answers
14 views

Organize Gallery by Event

I have a Gallery that Displays 9 images per Page regardless of event. So far, the Gallery has about 8 pages of images, with no organization. I'd like to organize the Gallery as follows: Gallery ...
0
votes
0answers
29 views

Admin area for user, custom theme or admin theme?

In my WordPress site, I need to provide some backend functions for logged in user, so currently I have two choices use the wp-admin, customize the menu by hiding irrelevant items create a custom ...
0
votes
0answers
34 views

UPME Known Issues - Unable to Save Custom Fields

When you have large number of custom fields, there are issues with saving and updating process. This is due to the maximum input variables constraints set by PHP. Currently you have to increase php ...
0
votes
0answers
18 views

How to put tags on photos in Windows that WordPress can read and apply on media files?

I'm creating a Stock Photo gallery on WordPress with PhotoPress Image Taxonomies by Peter Adams and I noticed that when I upload photos from iStockphoto, the taxonomies keyword is filled with tags ...
0
votes
0answers
24 views

get_plugins() doesn't work after plugins_loaded

Any idea why the following code function my_plugin_load() { get_plugins(); } add_action( 'plugins_loaded', 'my_plugin_load' ); Throws this error? Fatal error: Call to undefined function ...
0
votes
0answers
17 views

define multiple post thumbnails

i'm building a page for catalogs which shows all subpages in a grid with their selected post thumbnail. That works without a problem. Now I need a solution how to define 2 more pictures as a special ...