All Questions

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
18 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
16 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
13 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
16 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
7 views

Client Portal with request management

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

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

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
8 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

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
20 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
27 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
6 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

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
19 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
13 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
13 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
17 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
18 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

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
17 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
40 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
19 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
0
votes
1answer
9 views

Wordpress and Wordpress-test-lib not getting added to tmp folder

I’ve installed the wpcli and php unit testing to my imac and the wordpress and wordpress-test-lib files were added to my tmp folder as they should have. I used this to install the setup. bash bin/...
0
votes
2answers
20 views

Only allow chats from logged in visitors

I installed a plugin for a chat in a wordpress site; I want the widget to appear only for logged in users; in the php file that shows the widget I read: /* -------------------------------------------...
0
votes
1answer
14 views

Deleting my old Wordpress site. - issues

Im trying to delete my Wordpress site. I am the admin but every time I go to the dashboard, under settings there is no option to delete site just export and import. I want this site gone.
0
votes
1answer
11 views

Updater user with multiple roles

I have searched the net for explanations, but I only find my own question without any real answer. Like this one: Adding multiple user roles dynamically I need to dynamically assign more than one ...
0
votes
0answers
22 views

Blog images not showing on homepage

Forgive me as I am new to this. The Blog is a separate page while the menu has 'news'. The pages are set in the screenshot but still doesn't show the blog images in the news section of the home page. ...
-1
votes
0answers
23 views

Help me to give a PHP Snippets

I wanna give points to members of my website when they rate our listings/products/posts, depending on 1star, 2star and so on they will get 10points, 20points...ultimately 5star get 50points. I'm using ...
0
votes
0answers
10 views

Woocommerce product import - cannot set post_date

I’ve imported a couple of thousand variable products and variations successfully, however I would like to be able to set the post_date (to force the order of the products displaying) I cannot choose ...
0
votes
0answers
17 views

plugin operation launch every time i click on page

I created a plugin for specific heavy batch operation but it seems that every time I click on any other place (list posts , list page , ....) the heavy operation is launched again, so I want to know ...
0
votes
1answer
23 views

Assign Parent Page - Now 404 Error

The strangest thing is happening. I have a page that I want to assign a parent page to. When I assign a specific parent page to it, then the page shows a 404 error. Here is the weird thing, this ...
0
votes
0answers
11 views

Appearance Menu - Add new items to the top of the menu

When adding a new new menu item on the appearance menu page (/wp-admin/nav-menus.php) is it possible that when you click the Add to Menu button that the new item would be added to the top of the menu ...
0
votes
0answers
9 views

WooCommerce Category Shop Loop

I am currently having an issue with two things. One is the theme Byanca, the other is the plugin Product Filters, both purchased via CodeCanyon. I am still in touch with the developers of both the ...
0
votes
0answers
11 views

RSS - This XML file does not appear to have any style information associated with it. The document tree is shown below

i have a problem with my feed on wordpress that shows this message before the feed This XML file does not appear to have any style information associated with it. The document tree is shown below. ...
-1
votes
0answers
11 views

Full Width, coloured horizontal bar, responsive design, theme questions

It's quite common these days to see this kind of design : example 1 example 2 That is... a page made up of full width horizontal coloured sections. Both of those sites are wordpress using custom ...
0
votes
0answers
12 views

Woo commerce hide category descriptions

i am currently building a site on my localhost, i have descriptions of product categories but on the category product page, it shows it twice. I have tried messing with my theme and custom css to hide ...
0
votes
0answers
8 views

htaccess questions wordpress multisite in combination with other cms

I installed a wordpress multisite on a server that already contained different subdomains and another cms installation (wolfCMS). It currently works fine by going to the root.nl/wordpress/$year/ ...
0
votes
1answer
16 views

Assign IDs to headings in ACF using functions.php

I'm assigning IDs to each heading on my Wordpress site. It works fine for pages where I don't use ACF with the following code snippet in functions.php function auto_id_headings( $content ) { $...
0
votes
1answer
14 views

Remove formatting in rich text with Gutenbergs Block editor

In the classic editor, an option for removing all formatting in a selected text was possible in the visual tab. Is there such a function for Gutenberg? If not, is it planned at some point? What ...
0
votes
0answers
8 views

Create a custom plugin with the Stripe API

I'm trying to create a custom plugin that contains a form for collecting payments. The payment data should be processed by Stripe API and the user's personal data such as Name and Email should be ...
0
votes
2answers
18 views

Hi everybody, I have a problem of search box

I just finished my site with the theme "shopper" on wordpress with the woocommerce extension. There is a search bar in the header that I can not remove. this bar offers in English to search in ...

15 30 50 per page