I have the following site: https://www.daenischer-kerzenshop.de/ If i look at the source code via the browser, I can detect empty tags. Does anyone happen to know why they are generated and how I can remove them? I have searched all possible files and removed all code that could possibly cause this.Unfortunately I could not find a usable plugin either. Here
Tag: wordpress
How do you query a custom post type (CPT) via an ACF relationship field?
Overview I have two CTPs: Range: Which showcases 4 van types Wheels Which showcases all wheels a van can have. In the wheels post type, I have two ACF fields: Image: Which is of type image (an image of the wheel). The name of this field is image Available on: Which is a relationship field where we can select which
How Can I correct Broken WordPress Permalinks
I have run into a problem with my WordPress blog. Previously, I could access pages using URLs like https://mywebsite.com/index.php/all. However, something unexplainable happened such that this URL has been renamed to https://mywebsite.com/?page_id=102. I have tried to change the permalink structure under settings and the link breaks. When the link appears as https://mywebsite.com/all it does not load in the browser. When
Trying to find the right hook for WooCommerce Order Submission
I have a plugin I developed that connects a WooCommerce order to HubSpot. The issue i’m running into though is that while it works, the hook im using right now is sending order info to HubSpot before its technically complete. So this means that stuff like Failed orders get sent in as Pending, and coupon codes are ommitted. So i’m
WordPress – How to add condition “if user logged in” for html/css/js menu
I’m working with elementor, in the html widget I wrote some code to create a menu and it works fine. Now I want to hide a part of the menu to make it visible only to logged in users. I understand that this is done with php, but elementor’s html widget does not support php. So I’m wondering if there
How to add if and else condition in wordpress shortcode
I have a shortcode showing the username of the current user, it works. What I want to do is insert conditions. if the user has the username show it, otherwise show first name or something else. I searched on google and here on stack, I understood this is possible thanks to the if and else conditions but I’ve never done
WordPress: Get pll_the_languages inside my plugin
How can i get languages into my custom plugin of wordpress? When i call pll_the_languages() it’s output me error. Maybe i should call some global method? My plugin code: Answer My issue is solved. You should use admin_init action:
How do I replace the dash by round brackets on WooCommerce product variations?
I would like to replace the dash ( – ) with round brackets ( ) around WooCommerce product variation names. Normally a WooCommerce product variation is displayed like this: Sometimes this dash can be confused by a minus, and it looks like it’s the main product minus the variation. This depends on both the product and variation names. So the
Hiding certain sections from “quick-view” of wordpress with woocommerce
I am trying to hide a section from either PHP template or CSS override from a website I am working on. The snippet of concern is as follows: I am trying to delete this div all together. I have tried finding the widget from PHP theme files with no luck. I have added custom CSS display: hidden property with both
How To Display Number In Post WordPress
I want to display the sequence number in the wordpress loop in the sidebar by category Software but the number in the sequence is not showing, I don’t know how to display it. i want to show number like this this is my code in sidebar.php and this my code in content.php Answer You can pass arguments to get_template_part(), so