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
1answer
19 views

get_comments_number() giving wrong results! What are alternatives?

get_comments_number() function giving wrong results because of a plugin filter. Which function can be used instead of get_comments_number() ?
0
votes
2answers
25 views

Want to add post to user dashboard

I would like to add edit.php to user dashboard who registers as subscriber on a website. Code which i using is add_action( 'admin_menu', 'remove_menus' ); function remove_menus(){ if(!...
0
votes
1answer
21 views

How can I show login popup when user clicks on download button

I am looking for adding a login popup to my WP page where the I have a download button to download some file. when a user who is not logged in clicks on the download button, I want to show the login/...
0
votes
3answers
31 views

Remove dashboard links from wordpress

I am trying to remove two links from users dashboard keeping it on admin but it goes off on both user and admin. One i need to remove from user dashboard and other is contact form plugin link contact....
0
votes
1answer
64 views

populating a form field with output from a custom plugin function

I need to add a unique string to a form as an identifier for customers. I have created some functions that will output a string of characters. I want to populate a form field with that using a ...
0
votes
4answers
38 views

How can I server scaled images?

I am working on an eCommerce website, with WooCommerce powering the shopping side of things. The website has a 'Recent Reviews' Widget, within the Footer. As well as the Review itself, it also ...
4
votes
2answers
37 views

Customize plugin update “new version is available” text

I'm looking to customize the "There is a new version of XYZ available." text on the Plugins list page. I know the code is in wp-admin/includes/update.php, however I'm not certain how to call this out ...
0
votes
0answers
44 views

Failed Jetpack Update Destroyed My Wordpress Website

All was not lost, fortunately, but because I had an old copy of the website and database and used a local server I was able to determine the culprit behind the loss of all my recent changes. I was ...
0
votes
0answers
13 views

Could someone maybe point me in the direction of a decent tutorial on how to create a wordpress plugin that is compatible with another plugin please?

I need to add an input field that makes use of intl-tel-input to verify the entered cellphone number, an additional button that sends an sms to that cellphone number. And then a second input for the ...
0
votes
0answers
15 views

WordPress and Ionic Ecommerce Problem

I had an WordPress website with ionic ecommerce plugin. I changed my domain name and products started disappearing. How can I fix that? My new domain is haos.in.
0
votes
1answer
36 views

How to handle WordPress Plugin Front-end AJAX Call [duplicate]

I'm developing a custom plugin. The plugin provides a shortcode that outputs some HTML to the front-end, wherever it is called. For the sake of example, this HTML includes a form button and textfield....
0
votes
2answers
21 views

How to send custom mail when a user complete a specific form

I've been looking for the whole day for a plugin that help me to solve my problem with my website. Is there a way to create a specific form that could send a custom e-mail when the user complete it? ...
0
votes
0answers
6 views

wp Media is not displaying images due to the Regenrate thumbnails plugin

Firstly Media in the wp admin panel has always worked but now doesn't work on all other sub-sites of the network I installed Regenerate Thumbnails plugin within my network but only activated it for ...
0
votes
0answers
14 views

Warning: Cannot modify header information - headers already sent when trying to download a simple text file [duplicate]

I want to be able to click my "Export" button and have a text file downloaded. When I try this, I get the error: "Warning: Cannot modify header information - headers already sent ....". I have a ...
0
votes
0answers
17 views

How to add specific posts to specific pages in WordPress?

How can I add specific posts to specific pages in WordPress using custom fields and not categories? Actually, I want to assign a specific custom field value to different posts and show them on ...
0
votes
0answers
6 views

Education Application: Incorporating Problem Sets in the Blackboard Format in WordPress

This is about using WordPress for education. In education, one often use Blackboard Learn https://www.blackboard.com/learning-management-system/blackboard-learn.html Blackboard Learn has a ...
0
votes
0answers
18 views

Website content not displayed anymore after updates

The last update was 5.0 and everything was normal, but it was mistakenly updated to 5.0.1 as well as the plugins (which were not deactivated prior to core update and were subsequently updated). The ...
0
votes
0answers
12 views

Javascript inserted from Plugin pointing to wrong location

This has happened time and time again on multiple sites. When it happens, it forces me to start with a fresh install of WordPress to get around it. The most recent example is on the WP Forms Lite ...
0
votes
0answers
84 views

added code to permalink (URL)

I have a wordpress with WP job manager/resume manager. I noticed that if i add new resume from the front-end i get some code added to the URL and extra variables (candidate name & location as ...
-1
votes
1answer
15 views

Upload images on 3D shape by customers

I am planning to launch an online store for a product which is a cube based gift. Customers should be able to upload images on a 3D cube (4 sides) shape in the online store and able to customize it. ...
-1
votes
1answer
27 views

WordPress Code Access to Restricted Content without Registration

Ok this is completely past my knowledge but I need to have this function and wondering if anyone can help or know of a plugin that can do this job.. I have content on my WordPress site that I want to ...
0
votes
1answer
20 views

Woocommerce plugin for minimum order and add-to-card-step

I am looking for a way (plugin or code) to set for specific woocommerce products the minimum quantity to add to cart and the quantity increasing step. For example for product A the minimum quantity is ...
2
votes
4answers
138 views

WooCommerce 'all' orders no longer being displayed - how may I debug/fix

I've just noticed that we seem to have a bug with our store. The 'all' orders selection is showing as empty but the other sub catergories such as completed, on hold and pending etc are there. I'm ...
0
votes
1answer
33 views

My Wordpress admin Lost All admin option, roles & privileges?

My website has been hacked and the hacker remove many option from database ? Try many solutions but no fix like sit : wp_capabilities to a:1:{s:13:"administrator";b:1;} But not working still ...
0
votes
0answers
16 views

How to Get Parent Category from attchment post with Plugin: Custom Content Shortcode

Im using "Plugin: Custom Content Shortcode " on my site . Just stuck with my code here. Im using short code on custom post with pods on my site. im going to display images from posts if image title ...
0
votes
1answer
23 views

Woocomerce add info after order email prouct item

I'm trying to add some labels after woocommrce order email items. Example: We can do that on cart by using this filter. add_filter( 'woocommerce_cart_item_name', array( $this, '...
0
votes
1answer
18 views

Tracking sales/conversions in Woocommerce using Google Analytics

I need to be able to track conversions/orders in Woocommerce and have tried every free plugin available and none have worked or seem to be able to track sales correctly. Has anyone found a free ...
0
votes
0answers
50 views

Add Product Subtitle to Woocommerce Product Page

Wordpress 5.0.1. Woocommerce 3.5.2 I am building a Wordpress/Woocommerce based Shop page and want to change the standard woocommerce theme logic especially on the Product Page: More specifically I ...
0
votes
0answers
15 views

How Can I display Specific User Pages?

I have a WooCommerce website and it provides some sort of Services. Let's say I sell Custom Videos (Example) and A user buys 10 videos from me. Now I can host it somewhere else (the file link) but I ...
0
votes
2answers
48 views

Why is my custom taxonomy image not displaying?

I have created a custom image taxonomy field in WordPress using CMB2. I cannot get the images to display for website visitors even though my code uses get_term_meta. (The taxonomy images are amenity ...
0
votes
0answers
19 views

How to deny edit capability for pending custom post type?

So I have a custom post type called sale, a role called sales_manager and a custom capability called edit_pending_sales. I want to allow the Sales Manager to add new sales, which is be set to pending ...
0
votes
0answers
18 views

How to add inputs dynamically in settings page (Plugin)

I have the following function in my plugin and want to add the Datepicker and Textarea dynamically, so that the User can add an row of the same Elements with an "Add" button. I have an array with ...
0
votes
0answers
73 views

Woocommerce recently viewed products and page caching

I am currently using Hummingbird to cache my pages and I also use the Woocommerce recently viewed products widget. I am currently having to exclude my homepage from caching as when caching is active, ...
0
votes
0answers
31 views

How to modify the code to include “rel=next” and “rel=prev” tags?

I have a Wordpress site with some posts splitted in pages. I added post pagination via this code: Single.php: <?php wp_link_pages(array( 'before' => '<div class="page-links"><span ...
1
vote
0answers
54 views

Changing image size to full size in Gutenberg's block gallery

I'm using Wordpress 5.0 and I love it so far. The only problem I have with Gutenberg editor is that its "block gallery" doesn't work so well. I have some 4K screenshots in block gallery, but it looks ...
0
votes
1answer
22 views

Updating Wordpress plugin admin panel footer text

The Wordpress admin backend displays the following footer text for each page of the admin panel: 'Thank you for creating with Wordpress'. What is the cleanest way to update this text for a particular ...
0
votes
1answer
38 views

Custom plugin which downloads updates from custom endpoint, extracts new version zip into a new name

I've built my own plugin, hooking into a combination of site_transient_update_plugins transient_update_plugins plugins_api to automatically query, along with passing the current plugin version to ...
0
votes
1answer
14 views

Add input radio menu to post

Is there any function to add radio buttons to post and how can I call it? (exampe on img). Thank you for suggestion
0
votes
1answer
13 views

What could cause a staging environment to not send wordpress_logged_in cookies?

We have a custom login and account creation plugin. It works fine on our live environment (example.com) but not on our staging environment (test.example.com). When we call wp_insert_user via an AJAX ...
0
votes
0answers
13 views

Groups plugin: Specific users can edit specific pages

How I can allow only specific users to edit specific pages? With code or the Groups plugin (by itthinx), Im not allowed to use another plugin. Is that possible? I ended up to this solution: ...
0
votes
1answer
28 views

How to cache for multi server environment? Memcached, Redis or other?

Am researching ways to speed a a multiserver wordpress install. In the past there was plugins like batcache that used memcache to store objects. That plugin is outdated and wanted to know in 2018 what ...
0
votes
0answers
20 views

Load Disqus comments after clicking a button

I have an official Disqus plugin installed on my site. However, I would like to load the comments only after user clicks on a button - "Load comments" for example. Comments should remain hidden until ...
0
votes
3answers
37 views

wp plugin not working after website live

Im trying to understand Wordpress plugins, i made a nice little plugin that lets you upload an image to media. However, this only works on localhost, after i moved the files to my host it stopped ...
1
vote
2answers
70 views

Memory Leak in plugin action

I made a plugin that basically reads a CSV file and imports data to relevant tables. However, the action seems to create an error: Fatal error: Allowed memory size of 134217728 bytes exhausted (...
1
vote
1answer
38 views

SEO Friendly URL on dynamic product page produced via shortcode

I have created a product page in wordpress, /product. This currently takes the id of a product /product/?id=123 The page has a shortcode that then fetches and displays the relevent data e.g. [...
0
votes
1answer
24 views

Rename wordress plugin

i installed a 3rd party saloon booking plugin on my wordpress site. But i need to rename this plugin name as mysaloon plugin. And im expecting that name will appear even on source code. Is it possible ...
0
votes
0answers
13 views

woocommerce - how to add custom field in one page checkout?

I can add custom fields to normal checkout pages of WooCommerce. But our company decided to try Woocommerce One Page Checkout. I wanted to collect additional information by using <input> text or ...
1
vote
1answer
36 views

Self deactivate plugins after an action occurs

I'm developing a WordPress plugin. I want to download a file from a server, then unzip and put it inside the main directory of WordPress after the plugin is activated. The process of download and ...
0
votes
1answer
8 views

Swap themes locally

I have a problem where my 'add new plugin' button doesn't work and it also doesn't appear on the normal menu. I searched online and the solution that is being suggested is swap theme to check if the ...
0
votes
1answer
11 views

My WordPress site made using softaculous stopped working after moving files out to root folder

I have an existing HTML website on domain name Tarkarlinext.com. In cpanel file manager, I have html files in public_html folder and site continues to run. One day, I installed WordPress script ...