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
0answers
16 views

Having an issue with a php theme and a slider plugin

Good morning, So, I am working on an intranet site, and we've created a couple themes to use. The issue is, when applying a certain theme, the slider that is added via shortcode will not display with ...
0
votes
2answers
983 views

wp_nav_menu(); Outside WordPress installation

I wanted to use WordPress menu management then show it on outside wordpress installion php file with html but I got this error PHP Fatal error: Call to a member function get_queried_object() on a ...
54
votes
10answers
39k views

Passing a parameter to filter and action functions

Is a way to pass my own parameters to the function in add_filter or add_action. For example take a look in the following code: function my_content($content, $my_param) { do something... using $...
0
votes
0answers
25 views

Search in WordPress

I created this function in functions.php: function wpbsearchform( $form ) { $form = '<form role="search" method="get" class="searchform" action="' . home_url( '/' ) . '" > <div>...
0
votes
1answer
27 views

Twillio How To Send SMS for Custom Post Type

Twillio has a tutorial where one assembles a plugin that sends SMS notices when 'post' is published. The issue I face is many 'post' types are published a day and that would generate an annoying ...
0
votes
1answer
491 views

Can't get or display post thumbnail in wordpress

i'm working on a WordPress plugin and i'm trying to display/get the post thumbnail below the post on my "Related posts" part. I tried many things which are supposed to work but not for me ... here is ...
0
votes
1answer
17 views

How to change shortcode's default theme?

I'm very new to web development. I'm currently using Divi to build my page and I'm using predefined shortcodes like [submit_job_form] of WP Job Manager plugin. When I add this to my page, the ...
0
votes
2answers
1k views

wp_login_form() ignoring login_form action hook

I have created a custom login page that uses wp_login_form() to create the login form: <div class="login-form"> <?php wp_login_form( array( 'remember' => false, '...
0
votes
0answers
32 views

ACF repeater field in WooCommerce Custom Tab returns “Array”

I want to use custom tabs with an ACF repeater field. So far I have written this: if( have_rows('faq') ): add_filter( 'woocommerce_product_tabs', 'faq_tab' ); endif; function faq_tab( $tabs ) { ...
0
votes
0answers
13 views

I want to make a content flow in WordPress like the link in the description

I need a plugin or builder widgets that can help me build a similar content flow like this page https://unbounce.com/p/g-ads/lowering-cpa-with-landing-pages/ Wait until the page is fully loaded and ...
1
vote
0answers
7 views

Use AJAX to fetch Current Post Thumbnail for Wordpress when Uploaded throughMedia Uploader Frontend

i Use WordPress Media Uploader on Frontend to allow users to upload Thumbnail for there UGC site. I also show a Preview of the Image on Frontend. When a user clicks the button the Media Uploader opens ...
0
votes
1answer
644 views

There has been a critical error on your website

I have uploaded my WordPress website in cPanel. My plugins and all were working well until after a few months I logged in to update my website and its plugins. Now I can't install, remove, or modify ...
-1
votes
0answers
8 views

Potential file permissions obstacle needing solution

tinkering around with manual wordpress installing on freebsd 12, installs just fine but having some issues when it comes to the plugins. I can actually install and activate them, two different ones, ...
-1
votes
0answers
16 views

How solve slider error

I use ultimate responsive image slider after i add my images in the slider i copy the short code like echo do_shortcode('[URIS id=3047]'); but my home page can't show the image and show loader
0
votes
2answers
1k views

How to get the parameters on page and avoid 404?

I have a page like http://example.com/mypage and I want to set some $_GET parameter like that: http://example.com/mypage/firstparameter/firstvalue I need firstparameter value but I always end in ...
0
votes
1answer
25 views

Integer in Array returns null

Im using EDD_Fees class for adding extra fee to products, Iv’e used this class before and it works like charm but now i can’t figure it out why amount equals to 0 (it seems returning null) But when i ...
0
votes
0answers
4 views

Installing yoast wordpress plugin manually on google app engine

I am trying to install Yoast wordpress Plugin app google app engine. I am getting too many files error while deploying. Steps Followed: Downloaded Yoast Wordpress plugin unzipped plugin in wp-...
0
votes
0answers
30 views

How to add post title to custom php?

I need to create a template to replace the default page of Events Made Easy. I created a php file for this template and copied the page.php code to the new php file. <?php // Exit if accessed ...
1
vote
1answer
31 views

Is there a way I can find wordpress posts that don't contain a word?

Am trying to unpublish wordpress posts that don't contain a word., Its like the inverse of search, Search is finding a string in wordpress posts, I need to find wordpress posts,. I think this will be ...
0
votes
0answers
15 views

Override custom visual composer shortcodes via child theme

I'm using a custom theme recently bought via themeforest. Unfortunately the dev is not supporting the theme anymore. What i'm trying to achieve is to override branded (created by developer) visual ...
0
votes
0answers
10 views

How to limit users to view selected forms in WP Forms?

I'm using WP Forms with my Wordpress application. I have around 10 forms and I want to dedicate each form to be accessed by one particular user only from the backend. The customers will submit the ...
1
vote
2answers
2k views

Form isn't inserting data into database with ajax plugin

I've been working at this for weeks without success. I've figured out problem after problem with the code, but none of the corrections seem to fix my core problem. The form doesn't insert anything ...
1
vote
1answer
11 views

I am getting error message on accessing menu-endpoint

I am trying to access wordpress menus using the /wp/v2 api. The endpoint that I am using is: My wordpress Staging Site's WP-API Endpoint The Plugin I am using is: https://wordpress.org/plugins/wp-...
0
votes
2answers
548 views

The correct way to handle GET or POST requests in the admin panel

I am developing a plugin that is going to be used internally (inside the admin panel only). I wonder what is the correct way to build the requests (action, params, etc) and what hook to use to be ...
0
votes
0answers
23 views

Unit Testing in WordPress

I am trying to incorporate Unit Testing into my WordPress plugins and have some questions to see if I'm doing the right approach. On my local setup I have set up PHPUnit for my plugin using the WP-CLI ...
0
votes
1answer
13 views

How can I see $post object in frontend from functions.php?

I would like to see the dump data of $post object in any page. So which code snippet to add in functions.php? global $post; print_r ($post); This is not working. Please suggest.
0
votes
3answers
218 views

Add extra parameter in <script> tag using script_loader_tag

I am using this code in my plugin to enqueue script: wp_enqueue_script( 'wpfrank-ptbw-pinit-js', PTBW_PLUGIN_URL . 'assets/js/pinit.js', array('jquery'), '', true ); The wp_enqueue_script function ...
0
votes
1answer
19 views

Show post object of any page in frontend

I want to see the content of the $post object in the front end. I want to do it via functions.php. What I'm doing in function.php is: global $post; print_r($post); But nothing shows up in the ...
1
vote
1answer
1k views

How to Add custom subtitle as og:title to Facebook Open Graph Meta Data in WordPress Themes?

I am using wp subtitle plugin for headings in my Local language, and default wordpress title as English headings. I need the plugin generated subtitle as title of shared article on facebook. ...
0
votes
4answers
1k views

Session alternative for plugins (due to caching)

I'm building a plugin that picks a random post from the database and delivers the result dynamically to the user. For certain aspects I need to know the post ID that's been randomly selected. Session ...
0
votes
0answers
16 views

Elementor contact form doesn’t work: “Oops! I cannot send this email!”

My contact page has the default Elementor contact form, but it doesn’t work. I really don’t know where could be the problem. Could you help me? Edit: I fixed by installing sendmail (needed by ...
0
votes
1answer
2k views

woocommerce product search based only title

hi i need your help regarding for woo-commerce product title based search we have list of product my searching keyword available in product title need to show list product. if product title don't have ...
-2
votes
1answer
20 views

Defer parsing of JavaScript [duplicate]

When I test my page speed for the site (https://sunshineecocleaningservices.com.au/) it gives the score of 0 for defer parsing of JavaScript "3.6MiB of JavaScript is parsed during initial page load. ...
0
votes
1answer
10 views

How can I change page content for good once a button is pressed?

I am building a verification website that utilises QR codes which once scanned show a page which says that the product is genuine. I want to add a "claim listing" button to the bottom of the page ...
0
votes
1answer
20 views

Wordpress site hamburger menu toggle not working

When I shrink down the browser to test for mobile responsiveness, the hamburger menu does not open, even after I clicked on it. I have tried everything from troubleshooting my plugins to searching all ...
1
vote
2answers
723 views

Replace default og:image tag YOAST

I'm trying to replace the default image picked by yoast (featured image) with a custom with the relative og:image:width and og:image:height, but seems a mission impossible! I tryed with this: ...
1
vote
1answer
18 views

How to make a PDF/Document library [closed]

I want to setup an online library where you can search, read and download PDFs (and other formats like epub) which will include ebooks and various documents like scientific articles. Kind of like a ...
1
vote
1answer
20 views

Prevent a plugin from being automatically activated

On a site I look after, the hosting company automatically force a plugin on us that, well it's useless. I'm looking for a hook/action that can be used to fully prevent that plugin from being ...
0
votes
1answer
27 views

prevent anonymous access to Wordpress site (non-admin site)

I'm using WP to build a help/training portal for a commercial software product (Product X). We'd like to restrict access to this new WP site to only authenticated users of Product X as it contains ...
-1
votes
0answers
14 views

F jQuery.noConflict(true); is missing from wordpress

which is causing one form not to load. I don't know how it happened we need someone to make the form work again.
0
votes
2answers
43 views

Create a link that calls our custom function in WordPress

I want to create the a link like https://mywordpresssite.com/mypage, that should call my function and execute the code. I am doing this for my backend script call that link and send some parameters to ...
3
votes
1answer
3k views

Problem protecting a page with a password

As we know, there is a built-in option in WP to protect a certain page with a password. Under the general settings for the page, I choose to show it only with password and set the password accordingly....
0
votes
1answer
860 views

How to use wp-ajax in wp-cron

I have create a custom wordpress plugin where i am using wp ajax. In class's __construct i have an action (admin_footer) in order to use wp_enqueue_script and wp_localize_script following wp ...
0
votes
1answer
498 views

Comment Approve - Add custom function when comment is approved

I would like to save some PHP memory when quering category page (like 5000 products at once) with average review rating, so I would like to save average rating of reviews every time I will manually ...
2
votes
1answer
18 views

How can I create a simple interface for my WP plugin?

I've made a simple plugin to style the WP default backend. <?php /* Plugin Name: Admin CSS Description: Custom Admin style. Made by LOOT Author: LOOT Version: 1.2 Author URI: http://weareloot.com ...
0
votes
0answers
51 views

Google Maps for Woocommerce Checkout

I am looking to integrate a Google Maps into the woocommerce checkout page, wherein, the customer, while checking out has to select his/her Google Maps location, it gets stored for each order and then ...
0
votes
0answers
16 views

Why does search result page vary?

I have a knowledge base website where users can search for a term and they get various articles, containing that term, either within the title and/or within the body of the post. My issue is as it ...
0
votes
0answers
4 views

Hubspot shortcode displaying after content

I have a wordpress page writed like this, using a forms plugin named hubspot : aaaaaaaaaa [hubspot type=form portal=6420717 id=d561769e-7aee-4924-85e6-edad58111fe7] bbbbbbbbbbb And on preview the ...
1
vote
0answers
19 views

How to escape the tailwindcss responsive syntax when using with contact form 7? [closed]

I am using the responsive syntax of tailwindcss for different screen size and when I am using it with Contact Form 7 (CF7) the syntax is getting ignored by CF7. [text* fullname id:fullname class:w-...
2
votes
1answer
808 views

javascript onload calling a function of a plugin

A friend created a plugin for me which allows the users to mark posts as read or unread. The code of this plugin is the following : edit of the code ! <?php /** * @package Read-Unread * @...

1
3 4
5
6 7
191