Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugins]

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.

0
votes
1answer
43 views

Styles and Scripts, Selectively enqueue across entire site

Right I have a plugin I am making for a customer, this plugin is actually to display things on a window TV display they have which will connect to a webpage not linked publicly on the website. I am ...
0
votes
1answer
3k views

How to call a plugin function in footer.php

I want to call this http://wordpress.org/plugins/easy-media-gallery/ easy media gallery plugin in footer.php or recommend me any image gallery plugin like its in the footer of this website http://...
0
votes
1answer
3k views

How can I 'reactivate' .PHP files within a WP plugin that have been marked 'inactive'?

I attemped to edit .PHP files associated with a plugin through the Editor in Dashboard while the plugin was active - all .PHP files associated with that plugin have now been marked 'inactive' and the ...
0
votes
1answer
105 views

How can I retrieve data within my widget

I have a Widget which I am creating but my quesiton is how do I access my custom table which I created via my plugin. I am attempting to fill the dropdown from the table called tfp which contains the ...
0
votes
4answers
8k views

Adding rich text editor to my plugin

I'm trying to add a rich text editor to my own plugin. So I googled it first of course and I found several answers on dev4press and Stack Overflow. This code displays nothing so I tried another ...
0
votes
1answer
575 views

Plugin readme.txt and assets internationalization

I've learnt how to internationalize my plugin, but that does not seem to cover documentation (readme.txt), screenshots and banners (assets). I'd like to present localized versions of those as well, ...
0
votes
1answer
109 views

Why is this custom taxonomy showing in the database?

I have created a plugin that add geographic data to Wordpress. According to this answer the taxonomy data should not be stored in the database, however it seems to be stored: mysql> select * from ...
0
votes
2answers
889 views

Help!! I Screwed up my WP

I was trying to clear up some empty tables left behind by other previously used plugins. As such i was trying to delete the GD Star rating plugin and now I cannot access my WP admin. i get the 'You do ...
0
votes
1answer
710 views

is_post_type_archive not working in feed

I'm trying to alter a feed for my plugin's custom post type to add lines for podcasting. Here is the code I've got right now: add_action ('init', 'my_plugin_init'); function my_plugin_init() { ...
0
votes
2answers
1k views

Get User ID from within a plugin

I want to get the current user id from inside my plugin and use it as a variable. My code is $current_user = wp_get_current_user(); $user_id = $current_user->ID; $loc_statuss = $wpdb->...
0
votes
2answers
7k views

Woocommerce exclude specific category products from related products [closed]

I'm trying to exclude products from two specific categories from showing up in the related products on the content single products page. The closest idea I have stumbled upon is this code from http://...
0
votes
1answer
188 views

Find out if request is for custom post type archive before query runs

I am writing a plugin that is modifying the RSS2 feed for a podcast that uses a custom post type. After the query runs (on action hook template_redirect; See this question for why), I'm checking to ...
0
votes
1answer
868 views

Use external link in the add sub menu

I want to show the data in the external plugins.php file. the below url path is correct but its not showing the file data. Whats the problem? add_submenu_page( 'antify', 'Plugins', 'Plugins', '...
0
votes
1answer
23 views

Post source link plugin - small modification

I'm using a little plugin that allows me to add source link to every article. I found the code in this thread: Article source link for posts It's almost perfect, but I need to make 2 little ...
-1
votes
1answer
488 views

“Are you sure you want to do this?” when deactivating all plugins in Wordpress 4.3.1 [closed]

Wordpress version 4.3.1, running in network mode. Logged in as super admin. In the main site's dashboard. When I try to deactivate all active plugins at once, I am taken to a white screen with the ...
-1
votes
2answers
613 views

shortcode doesn't work

I made my first WP plugin, it is a contact form - here is the code: <?php /* Plugin Name: Example Contact Form Plugin Plugin URI: http://example.com Description: Simple non-bloated WordPress ...
-1
votes
2answers
6k views

WooCommerce Checkout page customization [closed]

I'd like some help with customizing the functionality of my WooCommerce driven site. The link can be found here: http://seekoften.com/eCommerce/checkout How can I customize the output so that it ...
-1
votes
1answer
129 views

Themes VS Plugins [duplicate]

If I am customizing a WordPress site, should I do that via a theme or a plugin? By customization I mean: Add new custom post type Add new fields to the Users Add new widgets Add custom permalinks I ...
-1
votes
2answers
863 views

How can I add a custom meta value on file upload?

I am looking for an option where a custom meta value will be saved when user uploads an attachment. Lets say I need a meta key _example_meta_key and want to save meta value of this as ex087659bh (It ...
-1
votes
1answer
50 views

how to redirect to my template

i hade create a new template in my plugin code add_filter( 'template_include', 'bogin_page_template', 99 ); function bogin_page_template( $template ) { if ( is_page( 'bog_test' ) ) { $...
-1
votes
2answers
2k views

Recommendationf for Quiz Plugin that saves results [closed]

I'm building a learning site, and need a quiz plugin that will help track student progress through the lessons; thus I want a log of each member that took the quiz, along with date time and score. ...
-1
votes
1answer
1k views

Template for custom post type shows all posts instead of just one

I wrote a simple plugin to create a custom post type named "people": add_action( 'init', 'create_person' ); function create_person() { register_post_type( 'people', array( '...
-1
votes
2answers
668 views

What does do_action() function do in wordpress? [duplicate]

In my wordpress project I have seen several times the use of do_action() function. I don't know the working of this function, nor why we call it or where we use it? Can someone please explain this ...
-1
votes
1answer
62 views

What are the downsides of using bootstrap in plugin development?

I want to use twitter-bootstrap in my plugin. Are there any downsides of that? Will it create any issue if other plugin are already using the same on WordPress environment?
-2
votes
4answers
204 views

Plugin to install a plugin

I'm wondering if there is a way for a plugin to install other plugins directly. That means, I provide an interface for the user to click multiple plugins and download and install them directly to wp-...