Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 11 months ago. Improve this question a problem suddenly occur on my website https://kcstravels.org I’ve this error message “Notice: Undefined variable: gLWHJ9848 in /home/kcstra3473/public_html/wp-content/themes/sketch/404.php on line 1” on the top and
Tag: wordpress
WordPress loop issue getting links from custom taxonomy structure in navigation
I am trying to create a dynamic loop to get the custom taxonomy categories to show in the navigation. I have registered my custom post type “services” with this code: In my functions.php I registered the custom taxonomy with the following code: In my navigation, I am using this loop to call the specific categories from the taxonomy: I have
Adding a search icon to a WordPress Search bar
I am using the following WordPress function to output a WP search form: echo get_search_form(); Resulting output on the frontend topbar: I would like to add a search icon (magnifying glass) inside the placeholder. Currently I have text only inside the placeholder. I tried using the before pseudo element with no luck. Similar to: The website can be found here:
URL parameter is handled incorrectly on multisite
With a form that is displayed via a shortcode, we want to add parameters to the URL and then read it out again in another shortcode. These functionalities are added via a custom plugin. This works fine on a standard WordPress installation. However, if we add the plugin to a multisite installation, it does not work. The parameters are added
How to display ACF field after the product name on the cart and order reviews in WooCommerce?
I have Advanced Custom Fields setup for post type on WooCommerce Products. So each product has 1 unique custom field. I’m trying to display the custom field after the product name on the cart and the checkout page and order table information. However, running into problems as my code doesn’t display any output. Any advice on how to achieve this
NGINX/FastCGI config issues causing 404s
I’m currently trying to configure a Wordpress Multisite using NGINX. The NGINX config test passes: But I simply get a File Not Found. page when I load the site. From my config: And from my nginx error.log: My docroot is /var/www/html and the logs seem to show requests are being sent to the right place: Not really sure where to
How to put the woocommerce order date in a shortcode
I’m trying to put the date of the order placed on woocommerce in a shortcode. This is what I did: In the past this works, now for some reason it doesn’t. Am I doing something wrong ? Answer I found a solution after several attempts. I found that I was formatting the code wrong, consequently I wrote like this: I
WordPress additional info
That’s what my post looks like at the moment: I have the title ( David Art ) and the content (image + 1.25 eth). I as well have featured image: When I’m trying to get the title and featured image it works ok. But there are problems with content since I`m only able to get it together using the_content();. Is
How can we add wpform to custom theme
I create custom theme and I am trying to create a contact form using wpform but for some reasons the form doesn’t show on my page here is a code from the custom theme and this picture from the form that I have created using wpform Answer Way 01: You must have the_content() function in order to show page contents.
Check if email exists in WordPress through Ajax on HTML form submision
In my WordPress v5.8.2, I have localized the ajax_url in the functions.php: With the below jQuery script I am processing the form to check if the email ID from the HTML form is already existed in the WordPress: Below the PHP code in separate file to check email: The above entire code is not able to alert if email exists.