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
2answers
19 views

building plugin and it is displaying above plugins page

this is the issue: add_action('admin_menu', 'bittech_login_settings'); function bittech_login_settings() { add_menu_page('BitTech Login Settings', 'BitTech Login Settings', 'administrator', ...
0
votes
0answers
14 views

Activating Multiple Plugins and Namespaces Causes an Error

On the plugin page, if you select multiple plugins to activate and any of them use namespacing, Wordpress simply loads a page that says "Are you sure you want to do this?" and activates every plugin ...
0
votes
1answer
12 views

wordpress plugin is not activating from widget

I am just creating a plugin in wordpress. In this plugin I am trying to create a widget, In that widget it will show a title, input text and text area in the widget section and when the values will be ...
4
votes
1answer
29 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
0answers
16 views

grouping my widgets wordpress

In the widgets page, there are two boxes "Available Widgets" and "Inactive Widgets". How can I add a new boxe with my custom name where I can group all my widgets.
-1
votes
1answer
23 views

get_option returning a different value from what's saved

add_action( 'admin_init', 'register_mysettings' ); function register_mysettings() { //register our settings register_setting( 'plugin_options', 'plugin_options', 'plugin_options_validate' ); ...
0
votes
0answers
24 views

How to display multiple post types [on hold]

So I have used ACF in the past to create categories that would allow the user to just enter in say a picture and some text and have it show up pretty on a page. I am however working on plugin and do ...
0
votes
3answers
46 views

If a function requires add_action('init') how can I run it only once on plugin activation?

I am using wp_insert_term() to insert a large number of taxonomy terms from a csv file. The contents of that csv file might change occasionally. According to the codex, wp_insert_term() needs to run ...
0
votes
0answers
16 views

Capabilities for custom post type visible in backend but not working

In my plugin I have created a custom post type and defined capabilities for both the subscriber and the administrator role. When I go into the backend and look at the capabilities that are in the ...
0
votes
1answer
17 views

CPT to installable Plugin

I have gotten pretty good at creating CPT's for clients sites, but now would like to take it a step further by making them plugins outside of the theme so when/if they decide to change themes it is ...
0
votes
0answers
13 views

Create attribute for woocommerce on plugin activation

I want to create attribute on plugin activation.By below code,i'm able to create attribute in database table prefix_woocommerce_attribute_taxonomies but these attributes are not showing (or listed ) ...
0
votes
0answers
29 views

How to get viewed posts during an user session?

I want to track user activity on my blog by store viewed post id's in $_SESSION. So I wrote a plugin but wp call it twice. I get allways current post id and the id of the next post. This problem is ...
-2
votes
1answer
31 views

Is the only way to add taxonomy terms via an admin panel?

Is it possible to register taxonomy terms programmatically from a plugin? I would like to add a custom taxonomy 'geographical area' and also prepopulate the taxonomy with a list of areas in the UK. ...
0
votes
1answer
22 views

Why does is_front_page and is_home always return true for posts in wordpress? [on hold]

My front page is just a list of the posts separated by category. I'm working on a plugin that get the id of the post but needs to test if the user is currently on the front page: if(is_front_page()){ ...
0
votes
0answers
14 views

How to add a submit form in post in wordpress [on hold]

Actually I want to create a plugin for wordpress and in my custom post type, I wan to create a popup which I append a div element on on document.body. In the document.body there is no form element ...

15 30 50 per page