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.

Filter by
Sorted by
Tagged with
0
votes
1answer
68 views

Activating a single plugin via php

OK I know this has been asked before but I want to know the most efficient and clean way I can do this. What I have is an auto provision through serverpilot which installs WordPress for a client on ...
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
50 views

Translating wordpress plugin

Ok i built plugin for contact form, I wanna add translation for it. In my main plugin files i add this code function ap_action_init() { // Localization load_plugin_textdomain('prijava_forma', false, ...
0
votes
4answers
463 views

How to prepend to the_title for admin-side plugin's use

When I do this: function append_album_review_to_title( $title ) { global $post; if ( get_post_type( $post->ID ) == 'album_review' && in_the_loop() ){ return 'Album Review: '...
0
votes
1answer
304 views

Remove Adminstrator Hyperlink from a user having role to add and see users

I have create a user role using Advance Access Manager wordpress plugin having role to see, add and remove users name as site_admin. When user login with his Id he is able to see the adminstrator and ...
0
votes
2answers
109 views

Can installing a plugin delete an entire theme directory?

I installed a plugin named "Contact Form With Captcha" via the Admin's back-end, and as soon as I activated and configured it, my entire customized theme disappeared! Because my last backup was from ...
0
votes
1answer
24 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 ...
0
votes
1answer
3k views

How to send “Location” header on plugin form submit event?

How to redirect to specified page after form was submitted? Warning: Cannot modify header information - headers already sent by (output started at wordpress\wp-admin\menu-header.php:94) in ...
0
votes
3answers
2k views

Dynamic homepage according to user role

I have develop a wordpress website consulting and I have different user role and I want to have different content according to user role so I have a landing page with authentification and ...
0
votes
3answers
8k views

How to pass multiple values in shortcode?

All I am using formidable plugin and on one page i need to use 5 shortcodes. [frm-entry-delete-link id=9 page_id=25 field_key=hsn108] [frm-entry-delete-link id=12 page_id=25 field_key=cp7pi] [frm-...
0
votes
1answer
279 views

Comparisson between date() and a date from wp_postmeta

I am using the calendar plugin: "The Events Calendar", and is trying to get the events that are done. I can't see what it is that I'm doing wrong, but I'm pretty sure that my meta_query is wrong, ...
0
votes
2answers
7k views

How to add product images using script?

I have few hundred products on woocommerce without images. I am planning to upload images in future. Images have same name as the SKU of product (+.jpg). Is there a way I could write a script that ...
0
votes
1answer
165 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
1answer
116 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
2answers
895 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
3answers
444 views

how would I include a js file with <script> tags into wordpress?

in my wordpress plugin file I have this code that includes a javascript function javascript_file-exmp() { $src = plugins_url('test.js', __FILE__); wp_register_script( 'links', $src ); ...
0
votes
2answers
447 views

bulk post_content update

I need to replace all post_content in a particular tag/category to the desired one i have. is their a plugin to accomplish it or is their a query to finish this. Iam sick of doing this manually, is ...
0
votes
2answers
2k 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
1answer
78 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 ...
-1
votes
2answers
667 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
1answer
136 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
1answer
51 views

Dynamic HTML not displaying at respective place

Dynamic HTML not displaying at respective place I have a created shortcode in function.php and my code is, function Post_home(){ $data='<div class="cp-seeWrapper"><div class="container">&...
-1
votes
1answer
55 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
1answer
40 views

explanation for activate_plugin function in wordpress core

This function is in plugin.php file in wordpress core. I read the code and didn't get quietly what does it do. Can anyone give some explanation for this function?
-1
votes
1answer
505 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
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
2answers
656 views

Meteor Slides as header only for homepage and Use featured image of each page as header for respective pages

I am using meteor-slides plugin to make header as a slideshow. I am using twenty-eleven theme. Now i need to make this slideshow for my homepage only and featured images of other pages as headers for ...
-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
2answers
1k 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
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
1answer
2k views

How to add nofollow on all external links without plugin?

I have tried many plugins, which are doing the thing I want, but they are blocking my other plugins (1 in particular, which is indispensable for my site). Anyhow; how can I add a nofollow on all my ...
-1
votes
2answers
693 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 ...
-2
votes
4answers
248 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-...