All Questions

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

How do I open a post in a coustum page in wordpress?

I'm new to coding wordpresst themes. I made a whale loop on the index.php page, by clicking on the link I want the post to open on another page.php. Do I need to change anything to Permalink or? The ...
1
vote
0answers
8 views

Open Image Thumbnail in a new page, while clicking on the link

I am trying to open the thumbnail image on a new page using WordPress. For example. I have all the detail of a single post on a page and if someone clicks on the link given on a single page it opens ...
0
votes
0answers
11 views

How can I recreate the clickable image carousel? [closed]

My question is how can I recreate the image menu (actually I don't eve know what's the proper name) from this site: https://bacc.cc/ ? The one at the "Discover friends, family, and purpose" ...
0
votes
1answer
8 views

5 persons need to approve post before its publish

All users can make a post but it needs to be approved by 5 persons before its published. Is there a plugin or a function for this?
0
votes
0answers
12 views

Edit plugin to load Caption by default [closed]

I'm using the AudioIgniter plugin - https://en-gb.wordpress.org/plugins/audioigniter/ This plugin allows you to create a playlist in Wordpress. You create a new playlist, and then upload audio files ...
0
votes
0answers
15 views

Wordpress | Convert #038; to &

I need to pass a variable inside the permalink that takes me to my custom post, and then execute the $_GET of this variable inside an input of my cf7. The only problem Wordpress encodes the & in #...
0
votes
0answers
15 views

Linking from menu not working [closed]

I have theme RealHomes installed, and when I updated all my plugins, all my links on my page is not working. The url is not changing If i click on menu to go to a page. What can the problem be. I ...
0
votes
0answers
12 views

How to dequeue styles coming from plugins?

I'm trying to reduce the overloading by not to load all style sheets on my website's homepage. Some of those sheets is coming and loading from external plugins like woo-commerce, I have tried to do ...
0
votes
1answer
16 views

Two problems that are likely related to AJAX

Guys. I started a new WP website about a month ago. Recently, I ran into two problems that I suspect have something to do with AJAX but I'm not sure. The first problem is the Media Library showing no ...
0
votes
0answers
7 views

How do display 0 stars in woocommerce if, there no rating? [closed]

How do display 0 stars in woocommerce if, there no rating? if ( ! function_exists( 'cartzilla_wc_loop_product_price_rating' ) ) { function cartzilla_wc_loop_product_price_rating() { global $...
0
votes
0answers
13 views

Code displayed in page problem [closed]

Hi guys, Good day! I really need your help. I have problem on the site that I currently developing. There's a lot of code displayed in the page like what you see in the picture and I don't know where ...
0
votes
0answers
12 views

display post count by month in every taxonmy archive page

I am trying to display post count by month in every taxonomy archive page. I mean when visitors go to taxonomy archive page, they can see how many post published in every month of 2021. So my problem ...
0
votes
0answers
9 views

Change header (top and bottom) [closed]

I would like to make the space at the top and bottom of the header smaller. Also, I want to make sure that the entire header (logo and menu) is not included when I scroll down. What is the best way to ...
0
votes
0answers
8 views

Syntax for $wpdb->prepare when searching in two columns

I have this working statement for searching a single column in my database: $foods = $wpdb->get_results( $wpdb->prepare( "SELECT id, foodname, namevariations, calories, carbs, fat, protein, ...
0
votes
1answer
21 views

How can I send data to admin-ajax via JS Fetch?

I'm trying to implement filter system in my website. I decided to make it via js. I created fetch function let filters = document.querySelectorAll('.filters-item'); let pageUrl = wp.page_url; const ...
0
votes
1answer
15 views

Connect SQL SERVER with Word Press [closed]

I am New in Wordpress, i need to connect wordpress with SQL SERVER 2008. Somebody can help us how to do? Thankful,
0
votes
0answers
10 views

Request handler

I'm pretty new to PHP. In WordPress, it controls variables such as $_GET, $_POST, $_SERVER, $_REQUEST, handle query type. Is there a function that clears and fetches like HTML escape? The reverse ...
0
votes
0answers
9 views

Replace basic widget title with text

I want to replace the title text in this basic Appearance Widget with an image /icon in the front end. It is a title for a filter widget. https://imgur.com/llsOYlU I have tried using CSS of the div ID ...
0
votes
0answers
9 views

Cannot remove error “Conflict with another plugin which overwrites jQuery” from wordpress site

I am troubleshooting a WordPress site and often when loading a page, as a visitor or admin, an error box pops up with that says "Conflict with another plugin which overwrites jQuery". After ...
0
votes
0answers
17 views

Filter the loop by categories using checkbox form

I feel I'm close in solving this issue but kinda hit a wall. I have a loop on the examlpe.com/blog site and I'd like to be able to filter it using the category checkboxes. Here is my loop <h3 class=...
1
vote
1answer
10 views

ACF Custom validation message not showing up

I have two date fields where I want to make sure the "end date" is always later than the "start date". I added a validation function per ACF's documentation. It does fire, but the ...
0
votes
0answers
10 views

If x comments in a post move post to category y

If a post has 0 comments do nothing. If a post has 1 comment move the post to category 1. If a post has 2 comments move the post to cayegory 2. If a post has 3 comments or more move to category x.
0
votes
0answers
11 views

Prohibit updating post meta when re-entering the same data

I need help with prohibit updating post meta when re-entering the same data, my code, but something wrong: if(empty( $stringArr[$m]->time)) { if ( get_post_meta($post->ID, 'code_date', 1) ...
0
votes
0answers
6 views

Agama theme: What's the point of having a mobile menu location if it's tied to the primary menu? [closed]

How come the menu's are mislabeled in Agama? No mobile menu is visible when you apply one to the mobile location, but it is when applied to the primary location. Even that is in the wrong place (in ...
0
votes
0answers
5 views

Sorting CPT according to hierarchy in admin panel

I have problem with sorting my custom post type in admin panel. Is it possible to leave children position below parent? I don't know if this is clear, but below I made examples trees. My actual ...
0
votes
0answers
17 views

How to use Function to Create Multiple dashboard widgets

I am trying to make a plugin that allows a user to add custom dashboard widgets that feature individual feeds. I am using Advanced Custom Fields and Custom Post Type UI plugins. $feed_name = get_field(...
0
votes
0answers
17 views

Editor not displaying dynamically after clicking on the button

I am displaying the field dynamically in the admin panel. I have a button called Add more fields. The user can add the custom field dynamically. As of now, it's working but the issue is the editor not ...
0
votes
1answer
4 views

How to display excerpt post on hamepage and archive pages?

I am showing full posts on my blog's homepage and also in archive pages but the problem is, Now i have posted some long post and i want to show there only excerpt with read more button on hamepage and ...
0
votes
0answers
6 views

addEventListener / How to detect the default value data of an input type radio? [closed]

How to detect the default value data of an input type radio? is used in this case "addEventListener"? or is there a better way? I'm learning from the sensei
0
votes
1answer
15 views

Set MySQL variables in WPDB

I have an SQL query that works beautifully as a Raw SQL query, however when I put it into WPDB it throws an error: global $wpdb; $sql = "SET @product_group = (SELECT product_group FROM ...
0
votes
0answers
6 views

Different url format when I upload file from server and when I upload file from wordpress digitalocean sync plugin

I use digitalocean spaces sync plugin to my WordPress website. When the plugin upload an image to space then the base URL is space.fra1.digitalocean.com but when I try to upload images from my server ...
0
votes
0answers
3 views

Why does WPBakery Page Builder's Media Grid does not use CDN urls to display the images? [closed]

For context, my client's website is using WP Fastest Cache. I only recently just installed JetPack (reluctantly) to take advantage of their free CDN (it's the only JetPack feature that is enabled). ...
0
votes
0answers
7 views

How can I create a new user account while creating a new post, and then set that new user as the author of that new post?

I have a custom meta box with some user information fields, and when the post is published, the new user account is created, along with the new post. However, the new post's author is set as the ...
0
votes
2answers
12 views

display taxonomy terms with link

How can I print the taxonomy terms with links?? This code work but print the terms without link.. some advice?? function show_all_terms($taxonomy){ $taxonomy_terms = get_terms($taxonomy); ...
0
votes
0answers
7 views

Change the “Show All” button in a Wordpress Portfolio Filter

I'm working on a website for a client; https://www.lingvox.services/ and I'm trying to solve an issue on this page https://www.lingvox.services/mobila-la-comanda/ The client is Romanian, and wants the ...
0
votes
0answers
17 views

Upload file to Woocommerce Order

I'm trying to add File Upload for checkout process. Here is my code: Add input after order notes add_filter( 'woocommerce_after_order_notes', 'upload_file_checkout' ); function upload_file_checkout() {...
1
vote
0answers
12 views

How do I correctly set up a WP-Query to only show upcoming event-posts?

The goal is to display event-posts only for upcoming events. Setup is Elementor Pro combined with Astra Pro theme. I added a custom date field called 'eventdatum' (d/m/Y) to posts and via the ...
0
votes
0answers
6 views

WP CLI Run WP_CLI\Utils\format_items before script finished

How can I run WP_CLI\Utils\format_items before the command has finished? Currently the output will only get returned once the command has finished, kinda like WP_CLI::success('This message will first ...
0
votes
1answer
13 views

Checking for a new version from WP Repos

I would like to know if there is a new version from the official WP Repos for a specific plugin. How can I check for this in json/xml format? Or other format maybe? Something like this: https://api....
0
votes
0answers
7 views

How to add categories to posts on specific future dates and time?

How can I add in admin page a functionality for each post to be able to choose for each post separately a specific future date and time (based on a date and time format settings configured in ...
0
votes
0answers
10 views

Why my WordPress keeps showing black screen whenever i click on any thing on my home page?

i have a WordPress site with a theme i bought then i was going to customize it but when i go to home page and i click at any thing on the screen i get that transparent black screen with a little white ...
1
vote
0answers
10 views

Adding custom field in all widgets, but at the top of the form, in admin area

I am creating a cute new functionality on my theme that requires to add a custom field to all widgets forms in the admin area. I managed to do so by using the in_widget_form hook: function thefunction(...
1
vote
0answers
12 views

Don't see add_filter result in the site front page

I modified the site title the 'the_title' filter. I am using ACF pro repeater, I want to achieve is that if there is content in the repeater a + will be added to the post title. I wrote this script: ...
0
votes
1answer
17 views

Hiding menu on specific pages

I am having issue with hiding top menu on certain pages. Here are the sites I was trying to hide menu https://domain.com/cookies-statement/ https://domain.com/privacy-policy/ it seems, solutions from ...
0
votes
0answers
5 views

elementor custom build page is not fit the page on underscores theme

I create a custom theme using elementor and underscores all working, but the page is not fit full. the bottom area has a white bar. like this image.
0
votes
0answers
5 views

how can I show product comments in other link like (product-link / comments)

I want to show comments in link like this : sitename.com/product-slug/commnets how can I make this page ??? for more descriptin : I have product page and my prodcut page have to show comments but I ...
0
votes
0answers
9 views

Using dynamic tags within text

So I created some dynamic tags. After my Gravity Form is submitted it creates a post. The post has the contents of the dynamic tags listed under the body so this is all working fine. The question is, ...
0
votes
1answer
17 views

find author by product [closed]

I went to check if product belong to current vender to show edit and remove button Is there function as an example : product->get_vendor() thx
1
vote
0answers
6 views

Making BuddyPress Activity Stream (Post Type) Featured Images Clickable

I've added woocommerce product postings as a post type to BuddyPress Activity stream via this code in bp-custom.php file: <?php add_post_type_support( 'product', 'buddypress-activity' ); ...
0
votes
0answers
8 views

How reset input value quantity? [closed]

how are you? I would need help to solve the following problem: DEMO PLUGIN’S SITE LINK: https://shorturl.at/dikCF I have a plugin in Wordpress that has an error in which the input value is not reset ...

15 30 50 per page
1
2 3 4 5
2161