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.

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

Free Quotation plugin, CSS modification

I would like to have a widget in my footer that displays a quotation from the day/week/... from my own quote database. For each quote there would be a display date assigned. A good solution would seem ...
3
votes
1answer
12k views

Using require_once in a Plugin?

What's the difference between these two code snippets, and which one should I use for a WordPress plugin? require_once(dirname(__FILE__).'/inc/canagan_admin_functions.php'); require_once( '/inc/...
0
votes
0answers
12 views

How to get ordered fields from repeateble fields group added via Toolset wordpress plugin?

I got 2 fields in group ordered by toolset-post-sortorder meta_key: youtube_id: TeBW-WByzlw 144 163 youtube_id: CEdYPEKDD2E 255 270 This it how it look in DB: This is how I try to get fields: $...
1
vote
2answers
1k views

Plugin not appearing after uploading it via FTP

I am trying to manually add a new plugin to WordPress site (I need to add a customized plugin). I do it by: uploading it via Ftp server (with FTPS connection) to /var/www/html/wp-content/plugins ...
4
votes
1answer
1k views

Add rewrite rule to permalink structure

I have a Custom Structure setup for posts in Settings > Permalinks as: /%category%/%post_id%-%postname% This works great for most of my posts, but there is one category that I want to remove the ...
0
votes
0answers
14 views

How to allow URL with filename & extension in wordpress?

How to create custom URL routes? I wanted to generate csv using specific url for ex. https://www.example.com/exportcsv.csv Is this possible via WordPress? I have tried with querystring and all the ...
0
votes
0answers
19 views

Plugin Data not stored in Database

I am using a Wordpress plugin called ****Easy Accordion****. The problem is plugin data is not stored in the database. How can i do that? Pls, help me to get out of this. Thank you
1
vote
4answers
1k views

How to pass parameters (data) from plugin PHP to React

I am experimenting creating a WordPress plugin using create-react-app. To make things simple, I am trying to develop a click-to-tweet plugin. The shortcode part (in PHP ) looks like: // Shortcode to ...
0
votes
1answer
25 views

Proper way to handle admin-ajax calls

I'm helping a family member out with a WordPress site and haven't coded in PHP in some time. I need to change the way they are handling http requests and have read the following documentation: https:/...
1
vote
2answers
597 views

Pass a php string to a javascript variable

I need to pass a php string that is stored in $attr['footer_caption'] inside a shortcode function to a js file where the highcharts are initialized. $fields = array( array( '...
0
votes
1answer
478 views

Pulling sub-site content into specific pages

I'm working on a school website. The design calls for a collection of largely static pages, but for each class to have a blog which will be updated every few days. I know nothing about WordPress or ...
0
votes
0answers
18 views

Widgets: quote of the day, text rotator, customizable tag cloud

I would like to have three widgets in my footer: 1) Quote of the day - every day would display a different quote from my own quote database. 2) How can you help us? - would display every few seconds a ...
0
votes
1answer
24 views

“Enable Media Replace” plugin does not update serialized object in WPMeta

We utilize WooCommerce and a WooCommerce plugin called Product Documents (https://woocommerce.com/products/product-documents/) to associate PDF media files with products in my online store. Our ...
0
votes
0answers
12 views

Wordpress Gallery construct

I would be very grateful for your help in this matter: At the moment, I need to create a large number of galleries (transfer from another custom cms), and I can’t do this in automatic mode. As I ...
0
votes
1answer
946 views

wp_authenticate but not logged in

I am pretty new to all things Wordpress and seem to be really confused by what I have read. What I am doing is creating a plugin for a specific job and I need to simply change the menu once logged in....
0
votes
1answer
13 views

How to use site_url() in Elementor

I have created a website in wordpress, which is currently running as sub domain of a company. This website contains large number of pdf documents, which are belongs to different categories. The pdf'...
3
votes
1answer
3k views

Plugin updates are not shown

I have a site developed in WordPress 3.5.1. I have updated the WordPress to latest version (4.3.1), but it's not showing the plugin updates. It's showing all plugins are up to date, but i have already ...
0
votes
0answers
21 views

Embedding PHP code into WordPress on certain URL patterns

I'm writing a website that combines presentational pages (about, help, etc.) with functional pages (list of entries from a database, individual pages for the entries, etc.). The functional component ...
2
votes
1answer
438 views

custom taxonomy and custom post type url conflict

i am having one serious url issue. there is news custom post type. it's slug is news. News taxonomy slug: news_category News taxonomy url is: http://domain.com/news_category/press-release i want ...
1
vote
1answer
585 views

qTranslate remove default directory from link

/ru - default directory, how can I remove it this link: https://cambridge.ua/ru/teachers/ should be: https://cambridge.ua/teachers/ <ul class="language-chooser language-chooser-text ...
0
votes
0answers
15 views

Trying to edit icons in a wordpress plugin

I have installed the Wonder Grid Gallery plugin for my wordpress site. I've just changed the site theme to a new one called Charm. I want to change three of the icons that show up in the Wonder Grid ...
0
votes
1answer
595 views

Doubt using $wpbd->get_col for a single column

$table = $wpdb->prefix . 'posts'; foreach ( $wpdb->get_col( "DESC " . $table, 0 ) as $column ){//get all columns from wp_posts echo "<div><p>". ...
0
votes
0answers
7 views

How to add JS validation on checkout page on click of place Order?

I need to call the checkout.js validation on place order with JS instead after form submitting. If any required field is missing disable placeOrder button. Does anyone know how to do it? Thanks ...
0
votes
0answers
11 views

502 Error When Not Logged In

There is an issue with my website https://gofilehippo.com/ that i can't figure out. When i logged in everything works normal. But when a user access site without credentials it shows a 502 error. This ...
0
votes
2answers
514 views

How to Add Jquery FullCalendar in wp plugin in admin

wp_register_script('moment', plugin_dir_url( __FILE__ )."js/moment.min.js", false, null, true); wp_register_script('fullcalendar', plugin_dir_url( __FILE__ )."js/fullcalendar.min.js", false, ...
0
votes
0answers
26 views

Woocommerce - disable selling capabilities on products belonging to a specific seller

I'm going crazy for a few hours, and I need help. Please :) I would like to disable the sale of products added by a specific seller in woocommerce. I use Dokan, a plugin that transforms woocommerce ...
0
votes
0answers
14 views

How to Create a Learning Management Plugin in Wordpress to Manage Courses [LMS]

I'm looking to build a small learning management plugin to manage courses The first feature that i want to implement is the front-end course builder Meaning that after designing a course page (using ...
0
votes
1answer
16 views

Wordpress Automatic Plugin Update Renames Plugin Directory

So I have hooked the wordpress plugin auto updated to effectively redirect my plugin to autoupdate from my own site rather than wordpress.com. The updating process works seemlessly aside from one ...
0
votes
1answer
504 views

How to remove products-links after the product title using remove_action

I'm trying to remove the navigation between products that appears right after the product title in my products pages. The navigation is set in the woocommerce.php file of my theme: /** * Class for ...
1
vote
0answers
18 views

Merging Two menus in the backend into one menu

I'm wanting to merge two menus (actually 6 menus) that are used throughout the site into one large menu. I don't want to do this with PHP as I want the menu to be displayed using Elementor. So far I ...
-1
votes
0answers
20 views

How to check if custom functions from plugins exist?

What is best practice for checking that the function exists and having a fallback, especially when I call it so many times throughout the code? How we can check if a plugin from a plugin exists before ...
1
vote
1answer
47 views

Post-terms-order PHP errors after update

I have an issue after updating the last WP version. Now I have this errors on my dashboard: Post_Terms_Order_Walker::walk($elements, $max_depth) should be compatible with Walker::walk($elements, $...
0
votes
1answer
551 views

WP Plugin: Print javascript in header

[I am new to wordpress programming.] I am developing a plugin. The plugin needs javascript code in header. In order to print the code only in header of plugin's setting page. I am unable to do that. ...
0
votes
0answers
13 views

Plugin will not write background color to site

So my site will not change the background color. I don't know if I just don't understand how to add the color to the site after picking it, but it says the setting is saved, but never does. Here is ...
0
votes
0answers
15 views

delete cronjob events with no action (wp-control)

I am quite new to Wordpress Cronjobs. I deactivated the wp-cron function via wp-config.php and set a server cronjob to run wp-cron.php To add new cronjobs, i installed the wp-crontrol plugin. I was ...
1
vote
0answers
93 views

Product queue for my subscription box

I'm in the process of developing my subscription box and was struggling a bit with the available solutions on the backend of my site. I only send one item (as a start) in my box every month and I ...
1
vote
4answers
105 views

Deactivate Plugin on Theme Switch

I am developing a plugin, let's call it DahPlugin, that provides additional customizer options for a free theme I developed. Let's call this theme DahTheme (I don't want to shamelessly plug either one ...
0
votes
1answer
59 views

How to display the featured post on the category page?

I have created a feature post check box on the post page. Now what I am doing is if any user-selected that checkbox then I have to show that post on the category page. I tried below code but it's not ...
0
votes
1answer
586 views

After form submission want to show success message in the form page

Admin side I submit form to admin-post.php. I want to print success message in the bottom of the form. Iam new in wordpress what i did shown below. admin.php?page=add-products form code <form ...
0
votes
1answer
16 views

Is there a request for products plugin for WooCommerce

Buyback here I mean people can post on WordPress saying they want to buy from you say your old iPhone 9 for USD500. It's like a product request feature. I googled and can't find any.
0
votes
1answer
15 views

Allow a page to be edited by a specific custom role

I have created multiple custom roles using the members plugin by Justin Tadlock. Now i want certain pages to only be editable by the custom roles i select for them. Is there a plugin i can use for ...
2
votes
1answer
2k views

How to Build a Movie Library in WordPress 3.x

To help me learn WordPress development, I'd like to go "beyond the blog" and build a personal movie library -- similar to IMDb but on a much smaller scale. I need help understanding how to approach ...
0
votes
1answer
29 views

Disable Plugin or JS on Specific Admin URLs

There are two conflicting plugins on my site: Payment Forms for Paystack Formidable Forms Is there a way to disable Payment Forms for Paystack WP plugin only on the entry pages for my formidable ...
0
votes
0answers
15 views

how can I edit the HTML of yith ajax product filter

this question is basically the same as How to edit plugin's html? but they also did not get an answer to their question. I am using Yith AJAX Product Filter Premium Plugin and I am in contact with ...
0
votes
0answers
10 views

Does Avada theme, Fusion Builder or Toolset plugin store some data remotely?

I have a new task to try to speed up one WordPress site. In order to do so, I copied the existing site to my company's dev server. The problem is pages do not look quite the same. The code and DB are ...
0
votes
1answer
464 views

How to add a meaningful link in plugin admin panel?

I've read too many times this kind of code to add a link in plugin admin page: <?php function plugin_add_settings_link( $links ) { $settings_link = '<a href="options-general.php?page=...
-1
votes
0answers
21 views

I want to add the Bootstrap CONTAINER to WPBakery Page Builder and don't want to use the already available SECTION element instead

I'd developed a wordpress plugin with addons for WPBakery Page Builder sometime back and over the time I was getting some suggestions from its users so decided to build some of those into my plugin... ...
0
votes
1answer
493 views

function of parent not working in childtheme

I have a plugin used on a parent theme which uses shortcode. The plugin (shortcode) works on the parent theme but when I switch to child theme it no longer works. I've only added the child theme code ...
0
votes
1answer
24 views

Custom Field used to allow a Free Story; no longer works

Have a news site and until recently, there were two ways to get behind the paywall legitimately. First was with a user/pass that was checked against a remote database and returned an AUTH value of yes ...
0
votes
0answers
9 views

How can I show the plugin to different user roles that was added under settings menu?

I am developing a plugin and its added under WordPress admin Settings Menu As we know without administrator role we can't see the all menus under settings menu, right? So, 1) Is it possible to ...