All Questions

0
votes
0answers
4 views

Wordpress hide toolbar

To hide the admin bar for a user, it is possible to toggle off the checkbox 'toolbar' in personal options for each user. But when a new user is created to the website the checkbox 'toolbar' is ...
0
votes
0answers
5 views

Can not edit code using crayon syntax highlighter after update wordpress 5.2.1

I update wordpress version to 5.2.1 and now, I can't able to use Crayon syntax highlighter. From where, I can able to add code using crayon syntax highlighter? Any help would be appriciated. Thanks....
0
votes
0answers
5 views

Show template notice instead of reply form when user is logged out

When using the shortcode [bbp-reply-form], how do I display a template notice in the place of the form, like “You must be logged in to reply to this topic.”, when the user is logged out? Its only ...
1
vote
0answers
12 views

Get a setting value conditionally in the Customizer api

I'm doing this the normal way, instead of refresh I edit the element with JS according to the user selection, but in one case, I need a value that depends on another value and I can't get that. Here'...
0
votes
0answers
7 views

how to increase connection time

actually I'm using this script To increase the connection time // Reste connecté à WordPress durant 1 an add_filter( 'auth_cookie_expiration', 'keep_me_logged_in' ); function keep_me_logged_in( $...
0
votes
0answers
7 views

Missing image in media library

I have uploaded image in Wordpress media library. It is not showing in media library. But I checked in wp-content there have uploaded image. right now what can I do?
0
votes
0answers
12 views

oceanwp elemetor elements missing

i try to follow a tutorial about designing custom header , this one: https://www.youtube.com/watch?v=xXrHOptvF1c , but when i try to find logo and ajax search widget in oceanwp elementor element i don'...
-2
votes
0answers
11 views

How to Make “Login to see prices” Text as a Button?

I'm customizing my first site and for logged out users I want prices to be hiden and instead to be shown "Login to see prices". This guide solved it but the message "Login to see prices" is shown as ...
0
votes
0answers
7 views

How to stop my popups from loading before opening them?

My popups each has a gallery full of pictures, which is all downloaded the time you enter the website. Which makes my website very heavy. i use the "popup builder" plugin, which doesn't has that ...
0
votes
0answers
5 views

Delete product image using WooCommerce API?

I'm trying to delete product image (one at a time) using WooCommerce API but I'm facing a strange problem. I can delete all associated image at once by sending an empty array in images: { images:[] } ...
0
votes
1answer
13 views

What's the latest I can hook into wp_ajax_%?

It seems that there's a dispatch on shutdown, so, it seems that wp_ajax_my_action is executed at the very last of the request but I can't be sure since it doesn't show in the normal actions viewer. ...
0
votes
0answers
7 views

Highlight “shop” in menu when on product page, without showing a sub-menu?

I've tried doing some research on this but can't get my head around it... I have one main menu where I want to highlight a page (named "Shop"), but don't want a dropdown menu with sub-pages (product ...
0
votes
0answers
7 views

Woocommerce cart product save for user

By default, woocommerce save products at cart by browser basis. But I want to make, When users will be logged in and have cart products then products will be saved for that user. And when he will ...
0
votes
0answers
12 views

Import/Export WordPress demo

We are a team of developers who are beginning to publish our theme on Themeforest. We are facing an issue in presenting the demo of our theme and wanted to seek your help. Whenever we try to export ...
0
votes
0answers
20 views

The first load of the site is VERY SLOW (not related to cache)

Before I continue, I just want to mention that I search everywhere for solution and tried many many configurations and couldn't resolve the issue. I installed wordpress (on 3 different servers to ...
-1
votes
0answers
8 views

Why do images not load with particular themes upon import?

I import the demo xml file, for just about every single theme I try this with, and the images do not load. The demo does not look like the demo of the theme from themeforest. Is this normal? Is there ...
-1
votes
0answers
8 views

Different Tax for different User/Vendor

i need a modification, urgently! On my page, various sellers can register and offer their products. In Germany there is the value added tax regulation "§19 Ustg". This regulation exempts you from VAT....
-1
votes
0answers
8 views

How can I nofollow the links to post from categories and tags?

For SEO reasons, I want to nofollow the links to post from categories and tags pages. How can I do it?
-1
votes
0answers
8 views

Wordpress Search for all pages under a subdirectory

I set up this website with a theme that creates User Profile Page and creates page URL: website.com/author/USERID/ However, this theme does not come with a User Profile search. (Theme is Realto ...
0
votes
0answers
5 views

Is there a way to request_filesystem_credentials's output without echo-ing the form on the check?

I'm inside a data-centered system where I don't have much output and I need to know if I can write a file to a directory using the WP_Filesystem. Problem is, the request_filesystem_credentials outputs ...
0
votes
1answer
10 views

create new users in db starting at what ID?

I have to create several hundred users using mysql. How do I know which user IDs to give them? I don't want to duplicate already-in-use IDs, so is there a way to check which IDs are safe to use for ...
0
votes
1answer
73 views

Spam Registrations

Since the past 3 days, I am seeing that every day a new user registers to my WordPress site. The default role is admin and it's very concerning. Their email ids are workspace@kleverandeverbever.top ...
0
votes
0answers
5 views

Cannot Create A Page or Post in WordPress 5.2.1

I am using the Gutenberg Editor, and when trying to create a new page to publish, I get: Publishing Failed. Debugging using the console gives me: 13?_locale=user Status: 403 (in red) Type: fetch ...
0
votes
0answers
12 views

Can you make sub-panels in customizer?

I see a lot of posts about this, they all suggest some tricky ways and they say it's not possible out of the box. But those are old posts, can anyone confirm if wp core can't handle this yet as it ...
0
votes
0answers
9 views

How do I remove all values by brand?

How do I remove all values by brand? $allpostids = 'All Postids'; $allmetakeys = 'All Metakeys With Dots And Numbers'; $allnumberswithcomma = 'All numbers with comma' ' Markerfordeletion'; ...
0
votes
0answers
4 views

Looking for a system to manage incoming mail from customers [on hold]

I receive customer service from my clients by email. I’m looking for a plug-in (even a fee) that will import the emails directly to Woocommerce, which I can reply to directly from the Woocommerce. ...
-1
votes
0answers
9 views

Newspaper theme: How to make blocks filter by custom post and taxonomies

By default tagdiv newspaper theme not support filter by custom post or custom taxonomies in ajax filter in blocks. Any help please?
0
votes
0answers
4 views

Editor width automatically reduced - text is wrapped after 1 character

I have created several blocks using the wordpress editor. When I first create them, everything looks fine. When I revisit the editing page after some time, the width of the text block has shrunk ...
0
votes
0answers
15 views

Category of search results

Would it be possible customise the search results to add the category after each search result? Something like: Search result 1 Category A Search result 2 Category B Search result 3 Category A ...
0
votes
1answer
10 views

Somehow lost my MENU from my home page- help!

I am a total newbie to Wordpress (and an "old school" person!) Somehow though, I managed to begin to set up a basic website using Astra - and all was going well. Then I messed around, added some ...
0
votes
0answers
10 views

Wordpress vps memory allocation

I have a VPS sever for a wordpress site, which has an 8g ram and 4 cores cpu, however the site is really slow, I feel like the site is not using all resources, my question is, how much memory should ...
-1
votes
0answers
10 views

Forget Password via Wordpress Rest Api

i have tried to find service to Forget password and sent code to user phone number to update password in my android app via wordpress rest api ...but cant find solution ..anyone can help me
0
votes
1answer
30 views

What is the “meta” key in WP_Term Object?

I thought it would be term meta but that doesn't seem to be correct. For illustration I've created a category named "Test" with a slug of "test". I'm updating its term_meta with: update_term_meta( ...
-1
votes
1answer
11 views

Cloning a website via wget

Is it possible to somehow upload files downloaded via “wget -r” onto a server to replicate the actual website, If so how?
0
votes
1answer
12 views

Define option outside wp-config.php (on WordPress.com)

Using the PODS plugin. I need to add nested shortcode support which normally would be in the wp-config.php, but wordpress.com does not allow editing the core WordPress files. The change is: define('...
0
votes
0answers
17 views

$_POST & $_GET from external link – how?

My light control system can send a http link when triggered. i.e. http://mysite.biz/sql.php?insert=insert&command=75869-OFF&status=0 A separate sql.php file puts the data in posts and ...
0
votes
0answers
13 views

Update Custom Post Type Metadata Wp Rest API

I am trying to update a custom post type metadata on the front end using JS and the WP Rest API. The object key is wishlist_array under metadata Here is how JSON response from http://ohalocal.local/...
0
votes
0answers
7 views

DPI in galleries

I was always told that for web work, 72 dpi is fine for photos. That was back when LCDs were themselves 75-100 dpi. We now have "retina" displays however that are 200-250dpi. If someone is viewing a ...
0
votes
0answers
10 views

Shortcode to insert default text and change one word throughout it?

A beginner developer here, working on my first project. I've been trying to find some guidance on how to create a plugin or function to create a specific shortcode. Let's say I have two default ...
0
votes
0answers
12 views

Play video on mouse over [migrated]

I have a film portfolio where I want to display some content in video on the front page instead of still images. To do this I have changed a few of my featured images to video with the help of the ...
0
votes
0answers
11 views

How to flush the output, while WP still creates the page?

I develope a plugin, which takes several seconds do apply changes while saving data. While this time, the browser tries to open the options.php page. How can I output some text there, before the ...
0
votes
1answer
13 views

Wordpress REST API and User meta data

I created two custom REST API endpoint to create/update a user metadata a get its value. I use update_user_meta() and get_user_meta(). Both work properly, in the API where I use get_user_meta() I have ...
0
votes
0answers
16 views

Is there a way i can use a WP plugin outside the loop?

I am developing a little map outside the WP loop in a seperate folder. I am using some core WP functions to interact with the DB. For this i use define('SHORTINIT', true); require_once('../_site/wp-...
0
votes
0answers
18 views

POST https://jeeranco.com/wp-admin/admin-ajax.php 400

i created an HTML code to my selected option area in my web site like this <select name="DropDownList1" id="DropDownList1"> <option value="إختار منطقتك">&#xf015 إختار منطقتك</...
0
votes
1answer
8 views

Update post meta date always store 1970-01-07

I want to update the post meta "job_expires" to the current "job_expires" meta data + 1 week but with this code always store 1970-01-07 as date. $lejar_datum = get_post_meta($job_id , '_job_expires', ...
0
votes
0answers
10 views

Usage of predefined actions in WP Cron

I have a working wordpress cron, that is executing as expected. Inside the cronjob I want to use the action plugins_loaded. /** * Daily event. */ public function ...
0
votes
1answer
26 views

Best way to use a large array in function

I need to define an array which has more than 15000 values in the wordpress functions file: $validpin = array(110019,111222,112233); I have written only 3 values to explain but the actual array ...
0
votes
1answer
18 views

how can i show WordPress custom field data to my short code?

I want to pull Sub Heading text using WordPress default custom field? i use this shortcode. but not showing any text? //Shortcode: [lplist catname="" lpimgbg="" lpcatheading="" lpbtnurl=""] function ...
1
vote
1answer
27 views

Installing WordPress in a Sub-Folder (not in root) on Localhost

I've given WordPress it's own directory in mysite/wordpress to try out some security things. Using a WAMP on Localhost, I changed httpd.conf to: DocumentRoot "${INSTALL_DIR}/www/mysite <...
0
votes
0answers
11 views

How to store value in some variable in wordpress?

please help me I am new in WordPress the task is I have a URL like this http://localhost/talha/?aid=1 I want to store that URL value in a variable and use it through all my website. I read many ...

15 30 50 per page