Questions tagged [plugins]

Plugins are tools to extend the functionality of WordPress.Use the tag to mark questions related to issues and bugs faced in the plugin or its improvement. 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
40 views

Can I create a separate admin section for my plugin?

Is it against the WordPress guidelines to create a separate Administration section for my plugin? For example, Elementor opens a separate page for building pages but I'd like to create a similar ...
1
vote
1answer
40 views

Shortcode button dosent work for all posts. Work for first post only

I am creating a custom wordpress theme and i am little stuck in one situation, Actually i added a download link button and add some Java Script on it. The button on all posts showing and downloading ...
3
votes
1answer
197 views

Can we completely remove the WordPress Sitemaps (WordPress 5.5)?

I have been using my WordPress site to create various types of content, I obviously submit my sitemaps to Google for getting my site indexed. But there is some content which I don't want on Google, ...
2
votes
1answer
16 views

How to prevent action in ajax request, when in admin side?

I have a plugin that hides certain posts in the frontend. For this to be consistent, I need posts to also be hidden in searches and AJAX searches (needs to work with any theme and search). To make ...
0
votes
2answers
19 views

Hide Plugin Custom Post Type Menu Link

I installed a plugin that has a custom post type, that looks like the picture below: WhatI's like to do is hide the "Pictures" link in this menu. It's a custom post type. The link looks ...
0
votes
0answers
24 views

WordPress: Can’t connect to the Akismet servers

I installed the plugin Akismet to filters out spam comments. However, it shows that: Your site can’t connect to the Akismet servers. Your firewall may be blocking Akismet from connecting to its API. ...
1
vote
1answer
24 views

How to add an automatic refresh in Wordpress for a Page/Post or an embedded OneDrive/Excel HTML Code?

I have added an embedded Excel sheet on my website's home page. It is always displaying live data which is changing all the time. But when me or my colleagues view that page, they need to refresh the ...
0
votes
0answers
12 views

Download counter and decreaser Woocommerce Wordpress

I am working on a custom WordPress theme, and i am little stuck in one situation, the client wants that when the user buy subscription on his WordPress site, then the user can download documents, (the ...
0
votes
1answer
19 views

How to get specific string/value from an array? php [closed]

I am creating a custom wordpress theme and i am little stuck in one situation. I created an array $ark and get some values in it <?php $ark[] = esc_url( add_query_arg( 'pdff', $post->ID ) ); ...
1
vote
0answers
14 views

Combine scripts from all extensions of the plugin when an extension is activated

I am developing a WordPress plugin whose functionality can be extended by other plugins. The extensions simple WordPress plugins but just adds functionality by adding hooks. My main plugin loads the ...
0
votes
1answer
34 views

coding a WordPress AJAX Form using PHP to check if User is Logged Out and Show error

I have a WordPress Frontend Form, that uses AJAX to save data. The form is processed in backend obviously using PHP post, I did a simple solution to inform form submission errors to users if the form ...
1
vote
1answer
25 views

Cron jobs not working in WordPress plugin in a VPS with VestCP control panel

Recently I bought a small package of VPS to start working on a website. To make server configuration stuff easy, I installed VestaCP. I have installed WordPress on the server, then the necessary theme ...
0
votes
0answers
11 views

How to Fix Wordpress multisite woocommerce 403 file error

Recently getting 403 error for woocommerce plugin files while accessing on frontend. Frontend URL: https://tempserver.in/demo/haiko/ Used theme: ekommart tried deactivating / re-activating plugins/ ...
0
votes
0answers
17 views

How can i redirect a register user to pay a specific amount before he or she have access to loggin to the dashboard?

I'm building an investment website and I want all user to register with a specific fee before seeing his/dashboard, please how can I achieve this
0
votes
0answers
17 views

I need help with wrapping existing sections using tab accordion

I'm new to PHP & WordPress development. I'm using a plugin to render a specific page that has 6 sections. But I want to make each of those sections wrapped by tab accordion. I have a list of hooks ...
0
votes
0answers
11 views

Image color changes in wordpress

I have just started using Wordpress and I have followed this tutorial. I added some images and the color red became pink once loaded into the website. You can see the following images, the first being ...
0
votes
1answer
25 views

Define global variable in theme file and call that variable in plugin file

I am creating a custom WordPress theme and what I want is to define a global variable in theme file and call that variable in plugin files. I searched on google and many StackOverflow posts about this ...
0
votes
0answers
14 views

Add custom control though JS customizer API

I have tried to add controls through JS customizer API. It is not working for the custom controls where as WP controls like text, number it is working fine. api.control.add( new api.Control( 'my-...
0
votes
0answers
4 views

How do I recline a row of images in a set of images to show some content when one image is clicked on the same page

I am trying to create a page in WordPress using the Elementor page builder to display a set of images, such that when an image is clicked from the set of images, all the images below the clicked image ...
0
votes
1answer
15 views

How to get a specific string from a url

I am creating a custom WordPress theme and i am little stuck in one situation . what i want is that http://192.168.1.50/jobifylocal/resume/paulwoods/ get the name : paulwoods in a $variable. Note ...
1
vote
1answer
18 views

WP_Query ordering numbers as letters

I have some meta_fields in user profile created with ACF plugin. I am trying to run a query to get users with the following criteria: User must have meta_field jogador_profissional == true List of ...
-1
votes
0answers
12 views

How to get custom post data into a downloadable excelsheet file

I am little stuck in one situation, actually i am creating a custom WordPress theme and what i want is that. On my home-page i put a download link (i.e when clicked by the user all the posts of ...
0
votes
0answers
8 views

Problem with Wordpress image file called image-300x180-220x134.jpg and S3 offload

I'm currently working on a website with AMP for WP and Offload Media S3 plugins. One of the problem I have found is that AMP for WP creates some image miniatures that are not visibile on Wordpress and ...
1
vote
0answers
10 views

How to delete page by deactivating plugin

register_activation_hook( __FILE__, 'myplugin_activate' ); function myplugin_activate() { //create a variable to specify the details of page $post = array( 'post_content' ...
0
votes
0answers
6 views

Plugin Menu appears twice in Super Admin

I am buliding a plugin and have different menu options based on different user-role in wp-admin. I have user role as Administrator, Subscriber since lastweek we had migrated to Multisite Admin and we ...
0
votes
0answers
16 views

How do i show different group of images below a button when the button is clicked on the same page in wordpress?

I am working on a WordPress website using elementor page builder plugin to design the website. I am stuck on creating an image gallery that displays images when a button is clicked on the same page ...
0
votes
0answers
34 views

Revolution Slider Toggle Devices not working

I'm trying to enable the responsive mode in Slider Revolution to check my layout in mobile/tablet devices however when I switch the toggle on and click on the device name, nothing changes. I was ...
0
votes
1answer
18 views

Does anybody know how to insert a complete jquery plugin into a wordpress elementor-page?

I tried to implement a jquery plugin into a wp-page which gets displayed on an elementor page. Here is the link to the plugin. What I have tried so far: 1. I loaded the jquery-file via plugin (via ...
0
votes
0answers
10 views

Is it possible to have a single page on my current wordpress install under a subdomain? So editing the page is still accessed from the main interface?

I don't think multisite is functional for this for a variety of reasons (including small scale of what the subdomain would be fore, interface access, plugins, etc.) I have a single page that I would ...
0
votes
1answer
26 views

Can you add a shortcode to a custom post type that gets the post_title, post_content, etc. and then passes that to a plugin function?

Help! Cannot figure this out. I have built a plugin based on this tutorial that gives a user the ability to export a post from a custom post type into a formatted PDF using FPDF. As it stands, the PDF ...
0
votes
1answer
31 views

Get IDs of Images from Gallery Block in InnerBlocks of a Custom Gutenberg Block

I am basically creating a Custom Carousel Gutenberg Block. It qould be a carousel at the front end and I plan on using a Gallery Block to add images to the carousel. The carousel would be loaded using ...
0
votes
0answers
9 views

How to Upload images to a custom folder in upload folder using media uploader

I’m creating a plugin for a customer that will add woocommerce products from images (images currently added via FTP) in a custom folder. The user also wants to be able to create a new folder each ...
0
votes
1answer
20 views

plugin wraps the entire content

I have made a small plugin which grabs the post from another blog of mine, and I render it using a shortcode: <div class="blog__grid"> <?php // If there are ...
0
votes
0answers
12 views

Woocommerece subscription retry fail payment

I need help understanding. How i need to approach the payment retry process for fail payments. For the moment i will just using. add_action( 'woocommerce_scheduled_subscription_payment_'.$this->id, ...
0
votes
1answer
52 views

React error #231with Custom Blocks after upgrade to WP 5.5

So I wrote a plugin for a custom block using create-guten-block by ahmadawais. Everything was working fine until the WP update to 5.5. Now I when I try to edit a page that has one of my custom blocks ...
0
votes
0answers
13 views

How to work with same DIV in different themes

I'm making a plugin that generate some content but it s displayed in a bad way. So for display it correctly, i had modify the CSS of the div "entry-content" . But the CSS applied to this ...
-1
votes
0answers
9 views

How to add dark mode in wordpress in mobile view?

How can we add dark mode in wordpress view in mobile I want to add dark mode button near search bar not in navbar
0
votes
1answer
26 views

Highlight admin menu items that are parent of existing core items

I have two cases where I need to add a new admin menu that is based on current items. For example, I need to edit a menu page that will display pages with specific meta key so I added a new menu page ...
0
votes
0answers
10 views

How can I let visitors visit a page by selecting a category, a subcategory, and the particular post (in a third dropdown column)?

How can I let visitors visit a page by selecting a category (in a dropdown column), a subcategory (in another dropdown column), and the particular post (in a third dropdown column)? Is there any ...
0
votes
0answers
6 views

Update: Avada Resources still loading from localhost/Serverpress after database migration

Just so you know, this is still working: Avada resources still loading from localhost after database migration But it's located on Performance > Dynamic CSS & JS on Avada 6.2.3 I'm using ...
0
votes
1answer
11 views

Making a list that can be filtered by category/tags

I want to create a list of organizations that users can filter by location, service (legal help, federal services, etc.) to create a list of what exact organizations fit their needs. Is there a plug-...
1
vote
0answers
36 views

Building Wordpress Plugin Using FPDF - How do you get post content from currently viewed post?

I am using FPDF to build a plugin in wordpress that will add a button on each post(documentation) that gives the user the ability to export it as a styled pdf from the post without having to maintain ...
0
votes
0answers
16 views

Protect certain URLs from users that are not logged in

I'm trying to protect URLs like this on my website from being opened IF the user is not logged in. https://www.example.com/download/17719/ If a user tries to direct link to this and is not logged in, ...
0
votes
0answers
14 views

How do you tie a database to a block?

I am rather new to wordpress, and need help tying a database to a block and get it to function like a search engine for a candidate.
0
votes
1answer
11 views

Add User Role: Pre-saved in User-Meta [SOLVED]

I am adding an action after user registration to add another user role based off the users meta_value. When I use: add_action('um_after_save_registration_details', 'custom_after_new_user_register', 10,...
0
votes
1answer
24 views

Add custom fields in the new and edit the site forms without touching the WP core

I am working on a custom plugin to add some extra fields in each forms of user and site. Therefore, I need to add few custom fields in the both new/edit site and user forms. Just to know if there is a ...
0
votes
1answer
18 views

How get horizontal div instead vertical CSS

I can't make horizontal some div in a div. And if i can, i can't edit the size ! This is a little part of code HTML / PHP echo '<div class="makeitseo">'; foreach ( $res as $service ) { ...
0
votes
1answer
37 views

Bash script to check available updates

These are my very first steps with bash scripts and I have an issue. I want to list all plugins and themes in the directory of the website, which have available updates: 1 #!/bin/bash 2 3 #check ...
0
votes
2answers
61 views

There has been a critical error on your website - won't fix no matter what

So I've got the dreaded error too it seems. Apparently it's a very common issue but I can't really seem to get a hang on the fix. One of the plugins my theme uses is causing the error as per the log I ...
1
vote
0answers
108 views

Creating a custom post type, adding custom meta fields, preventing all future editability of posts of this type

I am new to plug-in development and have ran into a bit of a speed bump. So here are my criteria, I am pretty much struggling to tick off any of them: I wish to create a custom post type 'website' - ...