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

Delete a language in Sitemap

I have a blog in several languages and I want that when sending the sitemap file all posts that have a specific structure are excluded: https://www.miweb.net/pt-pt/articulo/ I want to exclude all ...
0
votes
0answers
10 views

Cart and Checkout multiple shipping fee in single row

I am using Dokan Multivendor Marketplace plugin. When I add separate vendor product in the cart. Then cart add new line called Shipping Fee. Currently I have two separate lines for shipping fees. But, ...
0
votes
1answer
44 views

Shortcode not working - quotes seems strange

I have been through other posts and tried a lot. I have two wordpress sites on the same server and A runs fine with the plugin "PHP code snippets" but B just shows the shortcode [wbcr_php_snippet id=”...
0
votes
0answers
20 views

How to find which plugin is adding external resources css/js in the site?

Please let me know which plugin or via coding I can find how to find which plugin is adding external resources css/js ? My main goal is to find the plugin that is adding the external link of ...
0
votes
0answers
17 views

How to create Tab in my plugin

Hello I have created a plugin in my WP site. Now I need a help how I can use tab in my plugin. Here is my code. function users_settings_page() { echo '<a href="?page=groups-settings"> Group ...
2
votes
1answer
50 views

How to install WordPress Multisite with different domains under the same subdirectory?

Currently I have a WordPress blog with one domain as following: http://example.com/blog All WordPress files are under blog directory. Now I want to create another site using WordPress Multisites ...
0
votes
0answers
20 views

Woocommerce - quantity of attributes?

i've been looking for solution everywhere and found nothing. I want to sell variable products that are handcrafted from certain materials. I set up these materials as attributes. Since my products ...
0
votes
0answers
15 views

WP Admin Bar and Ajax Request

I'm trying to get default nodes from the WP Admin Bar through AJAX. I get NULL if I var_dump the variable which should store the Admin bar object. class my_class { var $Admin_bar; public ...
0
votes
0answers
24 views

WordPress panel is not loading after plugin activated with error: HTTP ERROR 500

when i try to activate Yoast Seo Plugin, my WordPress panel stop loading and the browser displays: HTTP ERROR 500. I checked my error_log file and there was this error: call_user_func_array() expects ...
1
vote
0answers
26 views

Ability to make API calls out of Wordpress as well as executing SQL?

I'm pretty new to Wordpress, so I'm risking some downvotes here... but, I'm curious, are there any recommended plug-ins that have the ability to make REST API calls? I have access to a third party ...
0
votes
0answers
7 views

Post template per category?

I have this single.php... <?php $post = $wp_query->post; if (in_category('portfolio')) { include(STYLESHEETPATH.'/single_portfolio.php'); } elseif (in_category('video')) { ...
0
votes
0answers
15 views

Aramex Shipping WooCommerce pluging error

I tried to activate that plugin Aramex Shipping WooCommerce but I got the following error message: Sorry, but you cannot run this plugin, it requires theSOAP support on your server/hosting to ...
0
votes
1answer
27 views

Displaying content based on drop-down menu selection sitewide

Here's the scenario: Client provides services to a wide geographical area but pricing changes based on area. I don't want to incorporate geolocation, but I do want to permit the visitor to select ...
0
votes
0answers
9 views

WPNewsman Lite: required fields not working as expected

I have created a newsletter subscription form using WPNewsman Lite plugin. There are 2 fields Email and I agree... checkbox. They are both marked as required but users can click the submit button or ...
0
votes
0answers
20 views

How to use events manager placeholders in a custom template for WordPress

I'm using the events manager plugin for a site. I want to use the placeholders that the events manager plugin provides, for displaying the time, location a.s.o of an event. I tried to display the time ...
0
votes
1answer
29 views

How do I make a shortcode to display the shop name on Dokan?

I'm trying to create a shortcode to display the name of the store selling the product on the single product page. However, the shortcode doesn't show up in the single product page. I am using the ...
0
votes
1answer
20 views

Background Music WP [closed]

this may be a stupid topic but a client has commissioned me this: some music to be included in some pages. I can not find any plugins to help me do this. Do you know anyone? Now, I was thinking if you ...
0
votes
0answers
31 views

WooCommerce Add to Cart and Buy Now button

I need WooCommerce Add to Cart and Buy Now button in the same product. When people click Add to Cart it will add product via ajax (without reload). Buy Now button directly redirect to Cart page after ...
1
vote
0answers
23 views

Access Wordpress data from external PHP application.

I am a volunteer in a non-profit organization. I have taken over maintenance of a number of apps written in PHP/SQL/Dreamweaver. The apps are over 10 years old. I am migrating these apps from PHP/SQL ...
0
votes
0answers
25 views

Shortcode not working with AJAX Wordpress plugin

Problem: Some one else had the same problem but solution did not work for me Two: Is your shortcode in your main plugin file. If that code is in another file inside your plugin, did you make sure ...
0
votes
1answer
22 views

Using add_filter inside another class

I'm building a plugin which generates custom css, I have 2 classes: The main class, with core functions The compiler class as following (I simplify everything, because there is a lot of options): ...
0
votes
1answer
30 views

Is it possible to send user new password after they clicking on forgot password in word press

In word press is it possible to send users to new password after they are clicking on forgot password page ? Actually I dont want to send any url to users email which can take them to any page. Also ...
0
votes
0answers
14 views

I activated the WordPress social media plugin and then site now has a HTTP 500 error

I can't access admin either. I've tried to rename/deactivate all plugins via FileZilla but it's still not working. All I did was activate plugins, so this can only be the cause - http://www....
0
votes
1answer
14 views

How to check if you are on widget.php page?

I am trying to write a widget and I need to add the color picker to my widget form. I want to add the script only on widget.php page and not on all the admin pages. Is there a way that I can detect ...
0
votes
2answers
20 views

Do_shortcode before send email content

I'm having a little problem figuring out how to execute shortcodes stored in a mail content option of a plugin. The thing is, I have a field in my options page named '_message' that works with ...
0
votes
0answers
38 views

Apply fix to a function

I need to apply this fix: protected function buildQuery($mode = 'POST') { … if ($mode == 'POST') { /* POST body has to be an array and NOT a queryString */ //$args['body'] = http_build_query($request)...
0
votes
0answers
25 views

Plugin broke the site and unable to login in admin panel

Need help! When I activated the below plugin it broke my site styles and unable to login to the admin panel as well. I installed this plugin to add google adsense script below the header. Plugin: ...
0
votes
0answers
28 views

Woocommerce checkout functions.php : billing_address_1 won't align form-row-first

I'm trying to re-order and layout the Woocommerce checkout page. I can get most of what I want working without issue however for some reason when setting billing_address_1 to form-row-first (default ...
0
votes
1answer
21 views

Return function results within shortcode

I'm trying to write reusable functions in a plugin and call the functions within a shortcode. But, I can't get any output. Why don't either of these methods work? <?php function say_sup(){...
0
votes
1answer
17 views

Can't activate and deactivate plugins

I am trying to activate a plugin. It says as if the plugin is activated but when I am trying to open the plugin's settings page it's says I don't have privileges. When I activate a plugin and then ...
0
votes
0answers
12 views

Newsletter subscription discount for woocommerce - Campaign Monitor

We are using Newsletter Subscription for woocommerce and we are using campaign monitor. We want to set up the discount for next purchase for the subscription. Looked for the plugin that can do this ...
0
votes
0answers
14 views

Integrate HTML/CSS editor for website visitor

I want to integrate HTML/CSS editor for my WordPress website. So that when a visitor read my blog he/she can practice in that HTML/CSS editor. Check this sample link. How can i do that? Thanks
1
vote
1answer
28 views

How to create a Page alias in WordPress

In the image you see... WordPress has alias for Pages like Home Page, Checkout Page, Privacy Policy Page and any appear beside the page you assign them. How to create this feature in WordPress? If I ...
1
vote
0answers
15 views

Can't create term for product attribute

Please help. I need to create product attribute term after I create a product attribute taxonomy. wc_create_attribute([ 'name' => 'Size', 'slug' => 'size' ]); // This will only work If I ...
0
votes
0answers
17 views

wrong image after importing csv file using woocommerce csv import suite

Good day! I gave up with searching on google on how to fix my problem. I hope you guys can help me. So i'm currently using woo commerce csv import suite but i have a problem on regards the image. ...
0
votes
0answers
15 views

I am getting this error while fetching posts from my facebook page to my wordpress blog

Unexpected api response: { "error": { "message": "(#10) To use 'Page Public Content Access', your use of this endpoint must be reviewed and approved by Facebook. To submit this 'Page Public ...
0
votes
0answers
8 views

Unable to get photos from FB albums or Google Photos albums

Recommend me if it is possible to show photos from FB albums or Google Photos albums on website, most plugins which I checked FB and Google have made it next to impossible to fetch the photos citing ...
0
votes
0answers
18 views

Contact Form 7 Conditional Logic & Dynamic Text Extension Conflict

I am trying to create a form where depending which select field you choose, it will change the form and send it to that specific selection. The Problem: I can get the conditional logic working, its ...
0
votes
1answer
36 views

How to fix broken media library?

I asked this question and got no help at Wordpress.org. Here it is: Hi – Got a strange problem. When I go to my Media Library, I can’t see any of the images: Screenshot: https://postimg.cc/gallery/...
0
votes
1answer
59 views

Description: Too much time has passed without sending any data for document

I apologize if this isn't the correct place for this, but I've been all over the place trying to figure this out and can't. Here is the relevant information: Host: GoDaddy Managed Wordpress(likely ...
0
votes
1answer
19 views

Will downloading a page builder plugin delete my existing data?

I had a website developer build my website. Now I want to add content myself. Will WPBakery Page Builder be compatible? If I activate the plugin will all my existing data be erased?
0
votes
0answers
13 views

Remove action from plugin in another not working

I have 2 plugins with same structure. Let say plugin A and plugin B. They are generated with WORDPRESS PLUGIN BOILERPLATE GENERATOR (https://wppb.me/). I have some php (and ajax) methods in plugin A, ...
0
votes
1answer
32 views

Wordpress failing to update plugins

After cloning my wordpress site and fresh install of it i encountered problem. Plugins won't update. I'm working in Linux environment (Ubuntu). I've tried multiple solutions but still without positive ...
1
vote
2answers
125 views

Insert code after <body> tag without using functions.php?

I'm currently writing a plugin in which users can select whether they want to insert a google analytics tag or a GTM tag (Google tag manager). I've already figured out how to insert the code after the ...
1
vote
1answer
76 views

Custom REST API endpoint returns rest_no_route when called via wp-json permalink

I have the following code in my plugin, which during development has been working perfectly fine (called within rest_api_init). // ?rest_route=bridge/v1/test-data/process/bbe_examples ...
0
votes
0answers
29 views

Overwrite js code using WP_Footer

One of the plugin is en-queuing a js file in the front-end of my site. I was trying to overwrite it by creating a custom function and hooking it in WP_Footer. The js added by the plugin file is for ...
0
votes
0answers
38 views

Display Total Price based on Quantity Tier Pricing Model - WooCommerce

I am developing a WooCommerce website with a tier pricing model (using this Dynamic Pricing and Discount plugin). Products prices are fixed in advance and based on quantity bought (see table below). ...
0
votes
2answers
37 views

How to submit custom form data using ajax to HubSpot form?

I am new in WordPress. I have created a custom form in WordPress. When clicking on the submit button I want to submit form data using ajax to HubSpot. Please, anyone, help me how to complete this ...
0
votes
0answers
11 views

Changing a default nav menu through a plugin

Is there a way to change the primary nav menu that is at the top of the page, with a plugin. I want to make it so I could switch between menus if user is logged in and which user is logged in. So ...
0
votes
0answers
33 views

Remove woocommerce actions for frontpage

basically i want to remove the default single product actions that woocommerce uses but only on the front page. To attempt this I first just removed the actions like so: // woocommerce hooks for ...