All Questions

0
votes
1answer
8 views

Why is remove_setting and remove_control not working?

I've renamed my theme folder and all other title related bits, but I had a long list of settings and controls that were added with labels related to the old name, I want to remove these. I believe I'...
0
votes
0answers
26 views

Email setup issues [on hold]

I've installed WordPress with my personal mail address i.e. k*****@gmail.com now I want to change it to my site's dedicated mail address i.e. m*****t****@gmail.com From settings I've tried it ...
0
votes
1answer
20 views

Rewrite rule not working, issue may be in URI request

I'm trying to make a rewrite rule so that posts can be accessed both at the default https://example.com/section1/slug and at https://example.com/prefix/section2/slug. The code below is what I have so ...
0
votes
1answer
21 views

How to display a custom taxonomy without a link?

I need to display the name of a custom taxonomy term in a page template, and I've tried with the following line: <h2><?php the_terms( 0, 'my_category'); ?></h2> This correctly ...
0
votes
1answer
18 views

HTTP ERROR 500 after installing child-theme [Wordpress] [on hold]

I just created and activated a child theme and now I'm getting the HTTP ERROR 500. I've deleted the child theme through FTP and still getting the error. Also tried changing wp-content/themes to wp-...
0
votes
1answer
11 views

Posting or Updating Article Fails on WordPress [on hold]

I have a Update failed when I update an article. The article is well updated, or published, but I have this error in red.
0
votes
1answer
30 views

use add_action in a shortcode (gravity form - Wordpress)

I have a shortcode. With this one, i get the ID (number) of a formular $num_formular. Then, with this one, i had to send all the data in the database. When I run the following code, it works: ...
1
vote
1answer
15 views

Updating my free theme delete all my changes [on hold]

I'm developing a blog. I'm using a free theme, and I've made a lot of changes, from style to scripts. I update my theme from version 1.02 to 1.03, and all my changes have been deleted. I didn't know ...
0
votes
1answer
8 views

Set custom post type terms by id without knowing taxonomy

For a custom post type with multiple taxonomies, is it possible to set the post terms without explicitly knowing which taxonomy the term falls under? I have an array of term ids which may contain a ...
0
votes
0answers
16 views

Divide loop into three columns [on hold]

I have following code: <ul class="col-md-6"> <?php $args = array( 'post_type'=> 'offers', 'posts_per_page' => -1, 'order' => 'ASC' ...
1
vote
1answer
27 views

My WordPress website has 2 header [on hold]

My WordPress website has 2 header and showing yoast plugin 2 times in source code. I want to delete one, so that its not show meta tags twice. Is there anybody can help?
0
votes
1answer
7 views

Change author base and slug in author link

Hello im trying to change the author link from mysite/author/username to mysite/companies/dataFromUserMetabox i tried the approach from this answer chage author url its working the url changed but ...
0
votes
0answers
13 views

Native admin table with search functionality: sorting by columns does not work

I display a WP_List_Table on a submenu_page and offer a search function, which works. However, if I sort by a column within a search result, all records are displayed again. I really don't know why ...
0
votes
1answer
22 views

How to get access the ID of all posts of custom post type in Gutenberg editor

I want to access the IDs of all posts of custom post type book in my custom gutenberg block voucher and then render them in option list on admin side. What i want to achieve is when i click on voucher ...
0
votes
1answer
12 views

Problem registering custom taxonomy

Can anyone see what I've done wrong here. I'm trying to register a custom taxonomy called 'location' for my custom post type 'member'. But in the WP backend it's still coming up as 'category'. ??? ...
0
votes
0answers
15 views

change author of a woocommerce product

I'm trying to change the ID of 'post_author' of 'shop_order' post type in wordpress-woocommerce. So here is what I'm trying to do: When a customer is buying a product with the product Id of 356, I ...
0
votes
1answer
16 views

Override theme style rule in Gutenberg

I have a theme that adds the following CSS rule inline through the Customizer to style the hover state of links in post content: .entry-content a:hover { color: <color selected in the ...
0
votes
0answers
11 views

How to use multiple paginate_links() in my index.php?

I've created two divs which displays posts from two different categories. The paginate_links() function works only for the first div and not for the second. I tried @Boone Gorges answer: Multiple ...
0
votes
1answer
11 views

change billing and shipping address 1 and 2 field placeholders

I'm trying to change the placeholder text for the billing and shipping address 1 and address 2 fields but I can't get it to change at all. This is what I have for billing address 1 // This function ...
0
votes
0answers
13 views

Shortcode generated widget to appear on same line as heading text and button

I've been struggling with this one for a while now, with very little CSS or HTML skill. As you can see on my staging site, (http://staging.kempen-design.com/ewc) I have a top notification bar, where ...
1
vote
1answer
20 views

get_queried_object_id in AJAX

Can anyone please tell me how to get the get_queried_object_id from the AJAX file? What I've tried is: $object_id = get_queried_object_id(); print_r($object_id); die(); // Outputs 0 global $...
0
votes
0answers
20 views

Ho to display author image dynamically as a background image?

On my puzzle website I would like to display author image on the post area as shown in the image below. The author image would be a background image. May I know how is this possible? Theme is using ...
0
votes
0answers
15 views

Count posts associated with another post type

I have two custom post types in Wordpress: Events and Venues. I need to count the number of Events associated with the individual venues and have the counts displayed in a column on the Venues page in ...
0
votes
1answer
17 views

jQuery Ajax PHP function call returning [object Object]

I want to reload page using with jQuery Ajax. I have the code below, however, it's not working and is returning error [object Object] Is this just a simple syntax problem, or is my whole logic ...
-1
votes
0answers
8 views

Client Portal with request management [on hold]

I require the following functionality: Users can log in to the portal and they have a menu from where they can select a form to fill. They will fill the form and the form will come to editor, for ...
0
votes
0answers
8 views

vendor.js error after Gutenberg update [on hold]

Went to edit a Gutenberg page after some updates and half the edit screen for the page is blank. I'm getting the following console errors: JQMIGRATE: Migrate is installed, version 1.4.1 blocks....
0
votes
0answers
17 views

SQL - Get product code and images of all products [on hold]

I'm new to Wordpress and find a lot of threads on internet. But I can not build a sql to get Product Code and Image URL list. I can get image path via wp_posts table, but I can not join to Product ...
0
votes
1answer
21 views

Change css padding on home page [on hold]

I was trying to change the margins on post pages, so I added this code, which worked @media screen and (min-width: 767px) { p { font-size: 21px; padding-right: 20%; padding-bottom: 10px; padding-left:...
0
votes
1answer
12 views

Logout without confirmation and SAME window on mobile

I using this code to logout. It works except on mobile it opens a new window. How can I logout with confirmation and redirect to to the same window? add_action('check_admin_referer', '...
0
votes
1answer
13 views

Custom Blocks as part of a theme

I'm new to wordpress, but I'm a pretty competent developer. I'm trying to nail down what my client can do to their site. My idea was to create some special 'blocks' for them, which provide the page ...
0
votes
0answers
11 views

Change the default product when editing the Single Product Template [on hold]

I'm using Elementor to edit the Single Product template, and a specific product is loaded, how do I change this selection? I would like a different product (from my products collection) to be loaded ...
0
votes
1answer
9 views

Wordpress users table missing indexes

I had someone on fiverr design a wordpress website for me awhile back. They sent me the database when they were done and I imported it on my server and set everything up. What I've since realized is ...
0
votes
0answers
22 views

How to bypass WP Fastest Cache(plugin) caching of the widget in Wordpress? [on hold]

I use WP Fastest Cache in my WordPress site and it caches the entire page, i am wondering if its possible with some other plugin or some easy way(i am not so much in developing) to NOT cache the ...
0
votes
1answer
29 views

How can a TinyMCE modal return formatted/visual text?

I am trying to customize the behavior of an editor button in a plugin. On click, it opens a modal where the user can input some text. On confirmation, I want to wrap this text into code tags. But I ...
0
votes
1answer
13 views

How to get image ID based on get_theme_mod image URL?

I'm trying to use wp_get_attachment_image function to insert image. For that I need use image ID. So now I need to know how to get this ID by image URL taken from get_theme_mod from WP Customization ...
0
votes
1answer
7 views

two col layout bootstrap 4 with one fixed col and fade in effect on image

I've created a layout for my single post that have a fixed column and another that contains images that has the vertical scroll. I'm using viewportchecker to check if the images are inside the ...
0
votes
0answers
14 views

Website Primary Menu Image is missing [on hold]

While improving my website My Primary menu 'Emergency Station' submenu image is missing. It is just like the other submenu images. How can I add that? I accidentally deleted its related file from ...
0
votes
1answer
20 views

Topic won't save for a custom post type — how to debug?

In two of my site's custom post types, the topic (in the Topics meta box -- see screenshot below) won't save. This is not a custom meta box, I don't think. At least, I think it comes standard with ...
1
vote
1answer
22 views

Adding existing user custom field value to a woocommerce product

I am assigning each product in WooCommerce to an author. Each author, when they sign up, adds in a short bio and this is saved with the author's user account. People are signing up with Profile Press. ...
0
votes
1answer
14 views

Sub Menus will not work

I am desperately needing help. I have done everything to my knowledge to try to get my sub menus back on my website. I installed a meta slider plugin to get a slider on my homepage. It worked well and ...
0
votes
1answer
18 views

Access first name and last name from user_register

does anyone know how to grab first_name and last_name from $user_id for passing into a function firing on the hook user_register? I am having no luck with either: function random_name ($user_id){ ...
0
votes
0answers
19 views

PHP Category Filter

I am very very (very) new to all of this and have a project in seminar I'm doing. Now, the task is to add lines of code to .php file to create one more filter field to this site - https://www....
0
votes
0answers
12 views

Plugin to put the whole checkout on a single page [on hold]

I need a plugin that makes the checkout page stay on the same page, divided the information into columns, as in the image below Thanks for your help right away.
0
votes
0answers
18 views

Issue with navigation bar in child theme

I have created a child theme of the evolve theme. The evolve theme was not edited before localy and was just downloaded from the offical site. functions.php of child theme: <?php add_action( '...
0
votes
1answer
19 views

Get system timestamp in wordpress

My system timezone is UTC+1, MySQL is using this timezone and it's ok. Now I want to get the same timestamps in WordPress. As you know, WordPress modifies the current timezone so time() returns UTC-...
-1
votes
0answers
41 views

Plugin gives error in Admin Panel

<?php /** * Plugin Name: card-display * Plugin URI: https://example.com/plugins/the-basics/ * Description: Cards Display in Website * Version: 1.0 * Author: Amarpreet Kaur India * ...
0
votes
1answer
20 views

CSS transition from 0px width to 100% width

I have a website where I have set the content to left 100% on normal screen and on click on the button it will show on the screen with left 0%. I want the transition to be smooth, like the width will ...
2
votes
0answers
26 views

srcset attribute in Gutenberg gallery blocks

Gallery block are very useful to layout thumbnails. However, when I choose a columns layout (for example, four columns layout), the srcset for this thumbnail remains the same as a large image. In ...
0
votes
0answers
10 views

Elementor outside wordpress? [on hold]

I'm making a custom wordpress page that has a megamenu created with elementor. define('WP_USE_THEMES', false); require($_SERVER["DOCUMENT_ROOT"].'/wp-load.php'); get_header(); echo '...
0
votes
0answers
7 views

Website page not showing as 100% container [on hold]

my website is not fitting the full screen of browsers, I have tried 2 different computers and 4 different browsers. Could you please help me fix it? website is www.four-beacons.com

15 30 50 per page