All Questions

Filter by
Sorted by
Tagged with
1
vote
0answers
12 views

Standard Fail2Ban vs. WP Fail2ban vs. WP Fail2Ban Redux

I am working on revamping my wordpress site security, hosted via cloudways. Cloudways is generally great. I was working on installing WP Fail2Ban Redux: https://wordpress.org/plugins/wp-fail2ban-redux/...
1
vote
2answers
27 views

Bootstrap doesn't work on admin menu page-How to override wp-admin style?

I am building a plugin and i use bootstrap to style it but i notice some components styles don't work properly.Someone suggested in a blog post to use wp_deregister_style('wp-admin'); which did fix ...
0
votes
0answers
19 views

WordPress get_option from dropdown - failed to open stream: Undefined error: 0

I have dropdown menu that has this as the values: 'options' => array( '' => 'Show', 'afd3generalsettings' => 'Hide', This is the code I'm using to ...
0
votes
0answers
6 views

Booking system with pricing rule [closed]

I am looking for a woocommerce wp-plugin or code that can calculate the final price according to number of booking days as following : $4/day $6/3days $8/5days $11/7days any ...
0
votes
2answers
18 views

Set Multiple Meta Values as an Array Using dispatch( 'core/editor' ).editPost() Call in Gutenberg/JS

I'm attempting to store both an Image's URL and ID in a post's meta field via a Gutenberg component, but am having trouble figuring out how to store those multiple values in an array. I can store a ...
1
vote
1answer
30 views

For WordPress is there content in the database which I can safely ignore?

I am exploring possibilities to minimize the size of the database dump (for backing up the WordPress content automatically) of several WordPress instances. What I am wondering about most of all is if ...
0
votes
0answers
11 views

How to create a Settings Page with a list of existing taxonomies and allows the admin to associate a CPT with these?

I'm working on a plugin that includes a custom post type, by default this CPT will not be associated with any taxonomies. On the Settings page for the plugin I'm looking to show a list of the ...
0
votes
0answers
19 views

How to remove 404 image on wordpress?

I am trying to remove a 404 image from my WordPress site. I tried the Broken Link Checker plugin, but that plugin is not detecting that link. I want to remove this link entirely so that it will not ...
0
votes
1answer
19 views

WP_List_Table Inside Metabox Not Working on Clicking Search Button

I'm trying to display a WP_List_table inside a metabox. The metabox is for listing registered users to a course(LifterLMS Course Post Type). The table columns contain user_id, user_name, percentage &...
0
votes
0answers
25 views

Display specific posts based on an ID of another post

I'm trying to display specific posts based on an ID of a post. I got it working with 2 posts and I will get it working for the 10 posts that I need it for, but it's going to be a lot of code and I ...
0
votes
0answers
7 views

How to filter customer collection using Rest API v2?

Is there any way to filter customer collection by created or modified date using rest API? I have also check this document. But,there's not available any parameter for that.
0
votes
0answers
18 views

How can I change WPML settings programmatically?

I'm trying to change WPML settings programmatically, as suggested in these posts: Disable auto sign-in programmatically Overriding the WPML settings My goal is to disable a WPML's feature that ...
0
votes
1answer
21 views

Loop with custom posts, to include information from different custom post type

I currently have a loop to display custom posts for courses. Now I also have a custom post type for universities. Both have a certain 'schoolID', so I can link the courses to the university. Now I ...
0
votes
0answers
21 views

Add `manifest.json` file to a Custom Wordpress Theme

I'm building a custom Wordpress theme and would like to add a manifest.json file so I can utilise the ​​"orientation": "portrait-primary" that you can use with PWAs to lock the orientation on mobile ...
0
votes
1answer
25 views

page-{slug}.php vs. template-{slug}.php

I am working on a legacy WordPress application, and I came across a few files with the naming template-{slug}.php, which were placed in the child-theme folder. I'm surprised I came up with no support ...
-1
votes
0answers
16 views

Unable To Call Full Content On Homepage [closed]

My website https://cancellationflights.com. I can only do changes in template base content. I uploaded Travel Tour theme in my wordpress. I changed basic template things with my content. but i can't ...
0
votes
0answers
17 views

Prefix Wordpress Taxonomy Tags With Hashtag Symbol Like Twitter

How can I add a hashtag symbol before each tag in my WordPress website? My intent is that WordPress tags like 'Apple' should get converted to #Apple' I am the owner/developer of the site https://...
-1
votes
0answers
9 views

Can I Move & Enlarge the Item Description in Woocommerce Checkout Page [closed]

Currently, the Item Description appears very small under the Shipping Options. When the checkout page shows items with different vendors / shipping classes, this might be a bit confusing to the ...
0
votes
0answers
5 views

adding .po or .mo to paid memberships pro (word press plugin plugin )

I want to add paid-memberships-pro-fa_IR.po or paid-memberships-pro-fa_IR.mo to my paid memberships pro plugin, first I don't know anything about po and mo, and I don't know how can I add it to the ...
0
votes
0answers
14 views

Conditional Firing of WooCommerce Webhooks [closed]

Currently working on a subscription-based website and I'm looking for a way to control whether or not the order.created WooCommerce hook is fired based on certain attributes of products in the order. ...
0
votes
0answers
29 views

jQuery - Display product field based on quantity input

I am trying to display a value based on woocommerce quantity input and i'm using the following jQuery script. <script> jQuery(function($){ var form = 'form.variations_form', selected =...
0
votes
1answer
19 views

Contact Form 7: Drop-Down Menu with Read-Only Values?

Hi – is it possible to create a Contact 7 Form Drop-down Menu with ‘Read-Only’ values ? Syntax Example [select* trifold-template include_blank "Trifold #1" "Trifold #2" "Trifold #3"] Is it possible ...
0
votes
0answers
13 views

How to logout remotely from other website

My requirement is something like: Let's say I have a client side app/website. There will be logout link and on clicking Logout link, it will also remotely logout wordpress site. I believe WP has a ...
-1
votes
1answer
16 views

Site load time increased

My WordPress site(urchd.com) load time increased and sometimes I face error 524 due to some queries execution time exceeds 21 seconds. I already tried contacting my hosting provider they say that you ...
0
votes
0answers
38 views

update multiple rows in mysqli table base on two values

I know this is an old question that is repeated here a lot. but I couldn't find an answer that works, and my code is really bad. How can i update multiple rows in one query when i have to use two ...
0
votes
1answer
54 views

wp-admin send 404 error

I installed the plugin "yoast seo" and now when I enter and exit, they give me an error. And I can only come through /wp-login.php. how to fix ? please help
0
votes
0answers
5 views

gravity form list control [closed]

List control dynamic generation add and remove list field and sum of total field value in another text box in gravity forms. enter code here
0
votes
0answers
10 views

Header color issues

I have a transparent header with white text on my homepage which is set site wide. The problem is that my product and category pages are white background so they header gets lost on those pages. Can I ...
0
votes
1answer
16 views

Temporarily locked out … how long is a “short while”?

I was trying to login to an old Wordpress site I had forgotten the password too, had too many attempts at the password and got myself temporarily locked out. I have since reset the password, (...
-1
votes
1answer
18 views

Displaying specific posts from query thumbnail outside div

I'm trying to display thumbnails inside a div from a query, but the thumbnail is outside the div and I don't know what I'm doing wrong, here is my code: <?php // WP_Query arguments $args = array( ...
0
votes
0answers
15 views

Select parent post of parent post

I have custom post types. grandparent, parent and child. With this code I can select the grandparent of the parent in the dashboard. function add_grandparent_to_parent_dropdown() { add_meta_box('...
0
votes
0answers
12 views

Set up a page that automatically posts my instagram posts

Which is the easiest/best way to load instagram posts to a static page? I don't want the images to crop and stay in their original size and resolution. Is there also a way to add the caption and the ...
0
votes
1answer
12 views

Prepare WPDB with meta key and meta value

I'm trying to prepare WPDB by post type, meta key, and meta value global $post; global $wpdb; $rid = absint($_POST["rid"]); // number $last_id = absint($_POST["lastID"]); // post ID $query = $wpdb-&...
-1
votes
0answers
13 views

Drop Down menu expanded by default in Divi

It's possible make the Drop Down menu expanded by default in divi? I'm using the fullscreen menu, and i want to have the drop down menu expanded by default.
0
votes
0answers
34 views

wp_ajax_ 400 Bad Request

Trying to run a ajax request back to a function and keep getting a 400 error. this is the code below wp_register_script('frontend_js', plugins_url('/js/frontend.js', __FILE__), array(), false, ...
0
votes
0answers
16 views

Add Developer Link on Homepage Only

<?php if ( is_front_page() ) { ?> | Developed by: <a href="https://mohsinalam.com" target="_blank">Mohsin Alam</a><?php } ?> <?php if ( is_home() ) { ?> | Developed by: &...
0
votes
0answers
13 views

Move submenu in the fullscreen Divi menu in Wordpress

I need to move the language submenu, it's a secondary menu, but when i use the fullscreen menu, the main menu and the secondary menu merge together. Is there any method to aislate the language menu?
0
votes
0answers
5 views

Hook into tinymce 4 with javascript

I have a Wordpress site using ACF, where several TinyMCE instances may be loaded. I want to be able to hook into these with javascript but am unable to find any documentation on how to do so. In ...
0
votes
0answers
8 views

How to Rename Error Messeage “Establishing A Database Connection”

my vps under ddos attack and i need to rename the error message of Establishing A Database Connection" where could i rename this error? which file?
0
votes
0answers
5 views

Next/Previous Posts Links: Product Order and from Same Category

I'm exhaustively searching for a method to provide Next and Previous Post Links in a different way from which it usually appears in Single Post. By DEFAULT it: Is chronological ordered Links to ...
0
votes
1answer
15 views

Hide the update button from edit view in wordpress custom post type

Actually I'm trying to hide update button from edit view.bellow code is working for me.But the thing is when i update other than this particular post type(book)it will not redirect to same edit view....
-1
votes
0answers
16 views

Question about Divi's menu

I'm using the fullscreen menu in wordpress with Divi. Is there any option to center the logo of the page between the left and the hamburguer menu?
0
votes
1answer
9 views

How to keep specific tag from an html string?

Hello I try to keep only specific tag from an html string. For example: $allowed_tag=array('a'); $content = '<a href="#">link</a> <b>strong text</b>'; $content = ...
0
votes
0answers
21 views

Site infected by link

my store (woocommerce) is blocked by anti-viruses. I found that the following link is added to the footer without my knowledge: <script src = "// minisrclink.cool/1e40c8bd4601a5a5a4.js" async = ""...
0
votes
0answers
13 views

Applying pre-production modifications

I'm working on a wordpress website on a pre-production version that includes several extensions like woocommerce and others. I'm wondering what is a safe solution to apply all the modifications I made ...
0
votes
0answers
10 views

Restrict adding more administrator accounts

How to limit number of WP site admins to i.e. 2. So if current WP admin wants to create new admin, old account need to be deleted. (this can be added even on database level) I need this feature to ...
0
votes
0answers
18 views

how to add 4 post in one carousel slide

I want to display 8 posts in twoeach carousel slides, that mean 4 post in each slide. i'm using a loop to display post but the problem is, it is showing one post in one slide and hence displaying 8 ...
0
votes
0answers
10 views

Creating a WordPress multi site without creating extra 10 tables for each site

Is it possible to create a WordPress multi site without creating extra 10 tables for each site? Is it possible to do this with minimal changes, so that WordPress upgrading won't be a problem?
0
votes
0answers
12 views

Fetch_Feed timed out

For some reason when pulling an RSS feed from the CBC with fetch_feed I get a time out error. Any feed from the CBC such as https://www.cbc.ca/podcasting/includes/playme.xml https://www.cbc.ca/...
0
votes
0answers
19 views

Inserting to a WP database

I have this test plugin that I am using to try and insert into my WordPress database. It runs without a problem but it doesn't insert and when I click on the form submit it directs me to no page found ...

15 30 50 per page