All Questions

Filter by
Sorted by
Tagged with
0
votes
1answer
3 views

Get children of taxonomies

$terms = get_terms([ 'taxonomy' => array('Movies, Musics, Books, Games'), 'parent' => 0, 'depth'=> 2, 'hide_empty' => false, ]); $sorted_terms = []; ...
0
votes
0answers
9 views

Creating multiple tables with Plugin

I opened a new question, just to be sure. The former request has partly been resolved. I got another question regarding creating tables for wordpress: Only one table is created (The first one), but ...
0
votes
1answer
6 views

retrieves menu and converts it to a readable array

I have added this code in function.php to retrieves menu and converts it to a readable array but It's not working and give me this warning. Warning : Invalid argument supplied for foreach() in C:\...
0
votes
0answers
5 views

Custom Post Type and Custom REST API Endpoint result in Gutenberg editor not working

I have a custom post type (article) and have implemented a custom REST API endpoint for that post type. I can retrieve single and multiple articles via the custom endpoint without any issues. However, ...
0
votes
0answers
8 views

What is the hook for custom category bulk edit?

I have added bulk action in the WooCommerce product category edit. I just want to know what the hook is when I click on Apply to do some actions on selected categories. (Specifically, I want to update ...
0
votes
1answer
10 views

Cant get blog name with get_option

I am using WordPress functions to get the blog name and the current user username, I need this info to embed them on my contact form which is custom code too, but for some reason they are not working ...
0
votes
0answers
5 views

Live stream multiple cameras to wordpress page

I would like to stream live video from 6-8 cameras to my wordpress page. One page for one camera. video is Full HD. How would you recommend to do it. I was thinking of using a OBS but this enables one ...
0
votes
0answers
7 views

Double-Linked Custom Fields

We’re working on a historic database for an organisation with a yearly list of all board members and their functions. Each person (custom taxonomy) has their custom profile with their bio and extra ...
0
votes
0answers
6 views

Disable wordpress reordering functions in backend screen element

Does anyone know how to disable WordPress reorder button? I mean the up and down arrow (located in the upper right corner of the image attached below), and not the collapse button. So the box will ...
0
votes
0answers
6 views

JS validation for multi-page caldera form

I have a multi-page Caldera form, for which I need to add some validation for the email address, checking it against an external site. The problem is, I can add this using Caldera Forms validation ...
0
votes
0answers
12 views

Migrate Users From laravel to wordpress

we used Laravel before , and now we are moving to Wordpress, so we need to migrate all users including the passwords , is this possible? thanks
0
votes
0answers
5 views

Adding latex to the label of a graphic

I am looking to add a label to a curve using latex. The code plt.plot(inversevolume, modele, linewidth=0.5, label = r'modele $P={:.4}\frac{1}{V}$') works On the other hand, my data coming from ...
0
votes
0answers
9 views

Sending current featured image to email

I am trying to send the featured image with other details by email to admin. Everything is working well except for the featured image is sent to email only when the post is edited from admin if edited ...
1
vote
1answer
18 views

Wordpress 404 in development area

I have a live WP site, which I have taken a copy of and put onto a new server for testing / development. Once I put the website on the new area I updated the site url and home url in the database, ...
0
votes
0answers
12 views

Login WP - Connect single field to an external api

I made a plugin to allow wordpress login with external api. Everything works, now what I have to do is that when a user logs in for the first time, the plugin checks to see if it is already present on ...
0
votes
0answers
7 views

Showing logged in user data on the front end

I see there are quite a few answers surrounding this topic, but I can't seem to understand any of them, I am a complete noob when it comes to databases etc. What kind of code do I need if I want to ...
0
votes
0answers
19 views

Can I use IPs or cookies to log and display all visitors who have viewed my posts?

I want to log (and display) a list of visitors (non-logged-in guests) that view my posts. I want all of them displayed as a list under the post content. Are IPs the best way to do this? Are Cookies ...
0
votes
0answers
8 views

Do not load the css file for a plugin from the header

I'm newbie to PHP. I need to remove a css file from home of my site This is the html code to remove <link rel='stylesheet' id='__EPYT__style-css' href='https://www.*****/wp-content/plugins/youtube-...
0
votes
0answers
5 views

Display states according to selected country

I am trying to display state's names responsively based on what country is selected from a list (via WP database). For example, user selects Malaysia, Kuala Lumpur will be displayed without the entire ...
0
votes
0answers
11 views

How to add custom settings to the 'WooCommerce' section from Customizer?

I want to add some custom settings in the pre-existent WooCommerce section of the Customizer. How can I do that?
0
votes
0answers
6 views

Adding and Managing Custom User Fields

I am creating a courses website (similar to Udemy) on WordPress - using Tutor LMS. Tutor LMS, like any other plugin, has its own templates including a user profile/dashboard where the default-...
0
votes
1answer
17 views

WordPress 5.6 Application Passwords

I have reviewed this page but could not fully understand it. Does this feature in 5.6 provide us with an interface? The page displayed above did not appear in my admin panel. Also I write url ...
0
votes
0answers
7 views

How do I use different domain for subdomains in WP Multisite?

I have a WordPress Multisite network. I'd like to have my main site on a seperate domain to my subdomains. What I mean by this is, for example, mymainsite.com on the main site, but my subdomains are ...
0
votes
0answers
6 views

Dynamic WP Permastructure tag

I have 2 taxonomy registered, Region and Types... I am using the following code to make a permastructure tag for one of the taxonomies: Region. add_filter('post_link', 'region_permalink', 10, 3); ...
0
votes
0answers
4 views

Add javascript to get the value of checkbox or select box

Thanks for reading my question. I am having a specific requirements where I am selling three tickets type using contact form 7. At the top the checkbox is presented to user where the user can select ...
0
votes
0answers
4 views

How To Render Thumbnails In Woocommerce Product Category Pages?

My woocommerce product category page is rendering the product images in it's full resolution. Where should I make changes in order to render the thumbnails instead? Thanks.
0
votes
0answers
11 views

If role then show all widgets, else skip a few widget

i'm really new to PHP but tried to look for answers still cant figure why the if not showing properly this is my code <?php $cv_user_info = get_userdata(get_current_user_id()); $cv_roles = $...
0
votes
1answer
21 views

Where to add my PHP codes for AJAX Jquery to work?

I am trying to display state's names responsively based on what country is selected from a list (via a library). I reckon I needed to use WP AJAX and Jquery to achieve this goal. I am totally new to ...
0
votes
1answer
22 views

How to check if a meta value has already been assigned to any user?

On my website I automatically generate an 8-digits random number $rndnr via wp_rand() during the registration process and save it as user meta. How can I check if this number has already been assigned ...
0
votes
0answers
4 views

Hide out of stock only from shop page, not single product variations

So I currently have a shop that uses different variations of products as the sizes. I have added some code that "greys out" any variations that are out of stock in the drop down on my single ...
0
votes
1answer
9 views

I want to insert a link inside a tag page that will link to another page tag

Could someone help me? I want to insert a link inside a tag page that will link to another page tag. This is the code (on the answer paragraph): Link from tags to tag pages displaying all posts with ...
0
votes
0answers
8 views

How to properly connect mailchimp to my ContactForm7? [closed]

I wonder how to connect mailchimp with ContactForm7 for automatic responds when you click the subscribe button? Where is a link to my site: https://www.cyrcl.eu I want to make a good looking respond ...
0
votes
0answers
7 views

Customize the way a form is submitted

I have created a form using the plugin caldera form. There are many fields with conditional formatting. Every field entry is recieved on a new line, I would like it to come in columns and rows. does ...
0
votes
1answer
11 views

Warning : Invalid argument supplied for foreach() in theme php on line 56

I found this error but not sure what should I do, I already disabled the plugins and activated them again but same error shows in the reviews page of each product. Gladly appreciate your help Here's ...
0
votes
0answers
6 views

Method for calculating the offset in order to use array_splice on wpQuery->posts

function getOffset($index, $length, $offset) { $result = 0; $transfer = 0; if ($index + 1 > $length) { return -1; } if ($index + 1 + $offset > $length) { $transfer = $index + 1 ...
0
votes
0answers
5 views

Why is AIOSEO page title not replacing native WP page title?

Just updated AIOSEO to 4.0.12 and i'm having page title issues. Specifically, each site page title consists of the title I've specified in that page's AIOSEO admin screen, PLUS (incorrectly), the ...
0
votes
1answer
11 views

How to add .ini file type to the plugin editor to read and edit?

Referring to /wp-admin/plugin-editor.php The plugin editor does not include .ini files and I use that file type in a plugin to create dynamic message constants. I want to be able to edit that file via ...
1
vote
0answers
8 views

Allow Post Author to be 0 on Update

I have a custom post type that allows registered users to submit videos to my site. I have modified the script so that non-logged in (guest) users can also submit videos. I've added first-name, last-...
0
votes
0answers
6 views

Adding custom field to an existing frontend form

I am struggling on this for few days already. Hope anyone can assist me, thanks a lot! The theme already has a frontend form, but I wanna add a custom field on it, which is a expiry date of the post. ...
0
votes
0answers
8 views

Only my home page working

I didint change my host I only update plugin and wordpress and now after 1 day only my home page working if click other link a black window will open Any one can help me ? www.turkeyzillow.ir
1
vote
0answers
5 views

How to schedule a custom field value update?

I have created a boolean checkbox custom field using ACF to mark a post as "featured", so it shows up on the homepage slider. I'm trying to figure out how to set up a timer so these posts ...
1
vote
0answers
9 views

Wordpress Loop - Next 3 Posts

Hoping someone here can lend me some advice or point me in the right direction. I have a working Wordpress php function where I can get the next 2 posts in the loop of the current post within a post ...
1
vote
1answer
6 views

How do you link to a place in another page without any styling issues?

I have a 'Meet Our Team' section on my home page and I want to be able to click a menu button 'Meet Our Team' and be directed there, even if I click it from another page. My problem is that if I use #...
0
votes
0answers
6 views

Ad thumb image filename into Woocommerce order e-mail. get_the_post_thumbnail_url

Trying to get the main product image filename into the WooCommerce order mail. The reason is that this will sendt correct image info til Printshop production. Anyone that know how? I tryde this, but ...
0
votes
0answers
4 views

Hamburger menu button moving up and down on mobile only

I'm quite new to wordpress so apologies in advance if I'm doing something obviously stupid I created a site from a theme and have modified it using elementor; the site looks and works fine on desktop, ...
0
votes
0answers
15 views

I want to replace after WordPress is completely loaded

The replacement process is always done with the following code. You can also use filter hooks, but some themes are hard-coded and you can't use filters. So I'm using this code (template_redirect ...
0
votes
0answers
6 views

Translate Pages Of A WordPress Site Into Subfolders

I have a client who wants some pages on a website translated into Cantonese (they are hiring a human translator to do this). Looking at this subject is seems that to translate web pages you set up a ...
0
votes
0answers
7 views

Edit Comments Fields

I need to edit the comments fields. 1 - The metadata should be only date; 2 - The comment itself should be trimmed; 3 - the word 'says' next to the name should be gone; I believe I can manage the ...
0
votes
0answers
4 views

Ad disapproved for malware [closed]

Good afternoon! I'm getting desperate, could you help me? I'm trying to activate the campaign on Google Ads, but google informs me that it detected 3 viruses on my site, namely: otrwaram[.]com pushsar[...
-1
votes
0answers
8 views

WordPress plugin(s) to support OpenID Connect for authentication and LDAP for authorization

Need to understand whether Wordpress supports multiple plugins (irrespective of what actual plugin) so that we can achieve authentication via OpenID Connect and authorization via LDAP. Our experience ...

15 30 50 per page
1
2 3 4 5
2160