Stack Exchange Network

Stack Exchange network consists of 174 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
0answers
11 views

How to output CMB2 select options from repeated groups select elements?

I've searched in previous posted questions but I can't find something similar (but if it's already posted, please let me know). I've got the following repeated group of fields, with a select in it: $...
0
votes
1answer
30 views

I dont know why my localization is not working

I am working on a Plugin for Wordpress and I'm not able to get the Internationalization working. Here is the GitHub Link: https://github.com/dev-nm/WP-StudioLink-Integration I used wppb.me as a ...
0
votes
0answers
10 views

How to decide the next post to load when using infinite scroll?

I want to add infinite scroll. But I do not want to show random posts/latest posts/most viewed post. But I want to show the posts from certain category/tag. How can I do that. I am very naive in ...
-3
votes
1answer
21 views

Detect if you're in the “Frontend Editor” mode in Visual Composer Wordpress [closed]

Marketo forms tend to break the Wordpress Frontend Editor. Now - my thoughts are to detect if I am just displaying the current page or I am in the frontend editor mode. If in frontend editor mode ...
0
votes
0answers
14 views

Revolution Slider Admin Showing Error 404 [closed]

I installed a WordPress theme bundled with slider revolution plugin. After installing and activating the plugin and I try to open its admin page where I can create slides or import, it won't open but ...
0
votes
0answers
10 views

How to handle a new function replacing an old function in plugin development?

If you had created a plugin which has a function other plugins or themes make use of... If this function was replaced with a new function that does the equivalent and more but with a different set of ...
3
votes
2answers
48 views

Add Archive Page Template via Plugin

So, I'm in the process of writing a plugin for a specific site. I understand WordPress picks the page template from the theme, with php script names according to the chart below. However, I'd like to ...
0
votes
1answer
13 views

Override plugin class which has namespace

I would like to override this plugin class : class-config.php namespace um; if ( ! defined( 'ABSPATH' ) ) exit; if ( ! class_exists( 'um\Config' ) ) { /** * Class Config * * ...
0
votes
1answer
12 views

Strange Character in site - don't know where it is coming from and it is in every theme I try [on hold]

On columbusguitarrepair.com I have a strange "b" character on the top left of the site - I'm not sure where it came from or how it got there, but I have looked everywhere and cannot find where it is ...
0
votes
1answer
7 views

Admin menu hilighting wrong item for CPT

I have two admin submenu items for my custom post type, but only the first one, "General Settings", hilights when either submenu page is being viewed. add_submenu_page( 'edit.php?...
0
votes
0answers
16 views

How do I include an external API in a wordpress plugin?

I would like to include external API libraries hosted by google on a plugin I am developing and I can't figure out how to. I have a couple that I would like to include in my header. I have tried the ...
0
votes
0answers
13 views

Could Wordpress plugins interfere with Siteground's push to live from staging functionality?

Me and the company I'm working for has run into a bit of a predicament when it comes to pushing one particular website. We've given a client of ours access to the staging site so they can add events ...
0
votes
0answers
21 views

Widget Logic : a widget only in the sub categories (Woocommerce) [on hold]

In my Woocommerce I have categories and sub categories of products. I would like to show the widget : category products (I have a french Wordpress) in order to show to my customers all the other sub ...
0
votes
0answers
9 views

Execute my Custom Plugin's function in WP Admin

So I am developing this wordpress plugin for WP Admin. I am able to call different views and function by using this URL structure. /wp-admin/admin.php?page=imported_isbns_list and it executes the ...
0
votes
0answers
12 views

Custom author page for custom role

I have created my own author page (author.php) where all the posts from that author is listed. The link to that page is - localhost/abc/author/new-user/. This is working fine in localhost. But the ...
0
votes
1answer
17 views

Accounting for search terms that may include a space, using SearchWP

As the title suggest I am having an issue with setting up the plugin SearchWP to correctly work with search terms (product names) that may, or may not, contain spaces. e.g. "ABC1" or "ABC 1". I am ...
0
votes
1answer
26 views

How to backup single post in wordpress [closed]

Please Advice me. I wanted to backup single post with data and media file. But not link with original post.
0
votes
1answer
19 views

How can i delete options on plugin uninstallation?

I want to delete option from database when plugin uninstall. It's name is test_option. I am using this code but doesn't work. Where is problem? function test_delete() { if( !current_user_can( '...
0
votes
1answer
18 views

<meta> in source code but I can't find it in files or plugins

I've got someone verified in my Google Search Console for our site and it's using a meta tag in the head. I've checked header.php in the theme and the child and it's not there. I've double checked ...
0
votes
0answers
23 views

Multisite: plugin only works for network admin though activated on all sites

Wordpress Version 4.9.9 I am develoing a demo plugin. For now it's quite simple, I am testing a 'wp_login' action hook. The below part of my-plugin-log-init.php is not working as I want it to: <...
0
votes
1answer
24 views

How to test 'upgrader_process_complete' hook in plugin development?

I maintain and develop several plugins in the WP repo and have been wanting to deploy some update that display notices/setups new settings for installations that are upgrading to the new version of ...
0
votes
1answer
23 views

Plugin Theme CSS [closed]

For a Plugin Theme, I have been unable to include some changes, and have to change them in the plugin itself: /wp-content/plugins/myplugin/assets/css/ .myplugin #content div.product div.images, ....
0
votes
1answer
28 views

Plugin keeps saying needs to be updated and it's in a constant loop [closed]

I have a plugin that is on "Version 1.0" When I update it (as indicated within my dashboard) it revers back to the same message. The plugin is at "1.0" and the "update" is also at "1.0" so clearly ...
0
votes
0answers
24 views

Develop Plugin Wordpress [on hold]

I'm a novice with this of development of plugins for wordpress. I'm developing a plugin in which I need to create a "assistant" of purchase, bony across different views up to coming ultimately. My ...
1
vote
1answer
25 views

How do you export/download the file of an already-installed plugin?

I have a plugin I modified and I want to download a copy of it because it is different than the original version available for download from the plugin store. Is there a way I can do that?
1
vote
0answers
27 views

Plugins Deleted

I have a client whose site was broken by a plugin and instead of deactivating plugins, they deleted some kind of 'visual editor' plugin. We managed to get the site back up and running and updated all ...
0
votes
1answer
24 views

Filter Custom Post Type Posts by Taxonomy

I created a custom post type named "listas" and a custom taxonomy named "taxolistas". I would like to fix this function from the plugin Thumbs Rating to make it filter posts by custom taxonomies ...
0
votes
1answer
19 views

Why does my file_exist check fail?

So basically, I'm trying to check if the user wants to overwrite my plugin template in his theme. I have a plugin with a Custom Post Type 'links'. According to WP template system my archive file is '...
0
votes
3answers
32 views

Historical customisations won't go away [closed]

I've inherited a wordpress website I need to maintain. Despite having upgraded it to the latest version (5.03), and having changed the theme, there seems to be some customisations which survived. ...
0
votes
0answers
29 views

change icon from a plugin

I'm using a plugin (tripadvisor testimonials). This plugin is using it's own icons in png to rate the comment on trip advisor. I wish change those icons by mine. I tried to do something in ...
0
votes
0answers
9 views

Enable plugin function on wordpress frontend

I have a chat app in my wordpress, I want to use that app in my frontend (every pages of the frontend, so a visitor can interact). How do i implement my plugin function to load on every pages of ...
0
votes
1answer
25 views

Dynamic input fields in WordPress Plugin

I am trying to create dynamic input fields in a plugin I am working on. I want to add functionality to "Add/Remove and Save" options in my plugin. Something like the below attached.
0
votes
0answers
10 views

how to enable “view details” of plugins on subsites of wordpress multisites

On multisite, I already enabled both "theme editor and plugin editor" by set:define( 'DISALLOW_FILE_EDIT', false ); in wp-config.php. both of these editors works on network dashboard: http://prntscr....
0
votes
0answers
6 views

How to allow only auto indentation on TinyMCE

I want that Wordpress (or TinyMCE or any plugin) could auto indent my HTML (as switching from Text to Visual does), because I have lots of old posts that I need to edit and they are kind of minified. ...
0
votes
1answer
37 views

Is it unethical to remove another plugin's meta keys?

In doing some site optimization work for a client, I ran into a plugin that does replaces WP's built-in featured image functionality with a separate meta box allowing you to specify an image URL ...
0
votes
2answers
26 views

How can I reactivate a plugin without access to my dashboard?

I've been working on a wordpress site (geniedrinks.co.uk) using the Jevelin theme. Last night, I deactivated a plugin called WP Bakery Page Builder (js_composer) which immediately resulted in HTTP ...
0
votes
1answer
21 views

Post URL based on Custom Post Types variables

I would like to create custom post URL from Custom Post Types variable. I considered a way to do that: In Permalinks settings, I see there are some default tags you can choose to compound URL from (%...
0
votes
0answers
21 views

Site can't be reached after using Smush

I was trying to fix the images on my website and came across a plugin called Smush. it had really good reviews as well. So I decided to try it out and after using this plugin my site stop responding. ...
0
votes
1answer
17 views

Is it possible to disable a theme programmatically?

I'm building a plugin that loads iframes to display some content. I have specific scripts & styles for that content and would thus like to ignore the active theme when loading those templates; ...
0
votes
0answers
12 views

User Reviews Shortcodes for the Reviewer plugin

I am using Reviewer plugin in one of our application. We did not able to call shortcode to show all user reviews. Does anyone have knowledge of calling shortcode to show all user reviews on a page? ...
0
votes
0answers
15 views

Get the last post ID

I'm trying to understand the ID mechanism in wp_posts in WordPress. Whenever I add a product (woocommerce), page, or an image, they are recorded in wp_posts and assigned an incremented id. Let's say, ...
0
votes
0answers
11 views

Custom role not listed

I have a custom role called my_vendor which submits custom post called tour from the front-end. The issue is that the function wp_list_authors() is not listing the users having my_vendor role. However,...
0
votes
2answers
23 views

How to use login_redirect with a user capability

The following code should redirect the user to a specific page if they have the manage_woocommerce capability or higher - but it doesn't and just goes to the main dashboard. add_filter( '...
0
votes
0answers
28 views

How post add available User Reviews?

I have post page and available User Reviews. I have added user reviews with the help of Reviewer plugin. Added User Reviews with the help of Appearance > Widget. Now, these user reviews will populate ...
0
votes
0answers
13 views

I would like to add a function that allows the customer to add multiples of the same product to their basket, how can I do this easily?

We have recently had our website redesigned but it has left us with some issues. The developers didn't add any function in the add to basket stage or checkout stage for the customer to choose to add ...
0
votes
1answer
67 views

Fullscreen Video/GIF Intro

How would one go about placing a 3 second Fullscreen Video/GIF Intro upon website start up as a preloader. I've tried coding it in but there's always something conflicting and limits the ...
0
votes
0answers
24 views

WooCommerce Product save() function returns php notice: Trying to get property 'name' of non-object

I can't figure this one out. I've written the following function which updates the stock quantity of a particular item: public function update_stock( $sku, $quantity ) { $id = $this->...
0
votes
1answer
26 views

Disable plugin If slug contains specific word

I want that If Slug contains "revslider" word, deactivate some plugins and If slug doesnt contain this word, again activate plugin automatically. I searched in Google and wrote this code (I am not a ...
2
votes
4answers
63 views

Should messages in WP_Error already be html escaped?

This isn't about what html escaping is or how it's done, but if there's an established best practice about when to do it. I have some utility code in my plugin that may generate a WP_Error based on ...
0
votes
1answer
17 views

How to fix blog article view and share #'s?

This is about public views on the front-end of our blog. All newly published articles view counter & share #'s have stopped updating. So, if someone views the article or shares it on social ...