Click here to Skip to main content
15,886,362 members
Everything / Hosted Services / WordPress

WordPress

WordPress

Great Reads

by Daniele Fontani
Sample Wordpress plugin that receives messages from slack and creates wordpress post
by Daniele Fontani
Implement a private Wordpress reposiotory using Angular and PHP slim framework as backend
by Ahmed Khateeb
In this article, I will describe how to Create WordPress Bitnami VM, how to connect to VM, how to add Custom Domain to that VM and important steps to follow after fresh installation.
by James A. Brannan
How to write an algorithm and then create working Java code from that algorithm

Latest Articles

by Frédéric -lefred- Descamps
How to install WordPress on Oracle Cloud Infrastructure (OCI) using always free tier
by Gábor Angyal
A walkthrough on how to create a real staging environment for WooCommerce
by Daniele Fontani
Implement a private Wordpress reposiotory using Angular and PHP slim framework as backend
by NewPast
English Simple Past & Past Participle PHP Auto Generation and Syllable Count in English Word

All Articles

Sort by Updated

WordPress 

N 12 Apr 2024 by Frédéric -lefred- Descamps
How to install WordPress on Oracle Cloud Infrastructure (OCI) using always free tier
18 Mar 2024 by Kolpie Loirt
I have a Wordpress site and I would like to have a green padlock for the url, unfortunately https://[REDACTED] is redirecting to http:// What I have tried: I have already changed Site Url and Wordpress Url to https://[REDACTED], reset all...
12 Mar 2024 by Jo_vb.net
To have HTTPS, SSL Certificate is needed to be installed on the server. HTTPS for WordPress – Documentation[^]
6 Feb 2024 by gachia net
hi I have a WooCommerce store website. I use this code to sort products based on inventory. But the code has an error. It dosent work corretct.please guide me. How to sort WordPress site products based on inventory? What I have tried: ...
6 Feb 2024 by OriginalGriff
we can't help you: we have no access to your inventory data, no idea what the error message (if any) is, or any idea what you expected or got. So, it's going to be up to you. Fortunately, you have a tool available to you which will help you find...
17 Jan 2024 by Neelu Singhal
I am creating a custom CPT where I have customized CPT URL structure of CPT, I am using the rewrite rule for this but it is conflicting This is a Lessons CPT, I want to remove lessons from the URL and if any category or subcategory is selected in...
18 Dec 2023 by Dave Kreskowiak
Uhh, how would we know? It's your code and you put the ID condition in the WHERE clause for some reason. You are the only person who knows that reason. Let me guess. You copied and pasted code from the web into your WordPress site without having...
18 Dec 2023 by Henk1964
My system was working fine, but now i have this problem WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND user_email = ''' at...
3 Nov 2023 by Alessio Torregrossa
I'm using woocommerce on my Wordpress. I created a code that I'll show you below. I put it inside function.php and a js called custom-fields.js. As you can see in this image[^], each customer with email has different prices so the customer will...
3 Oct 2023 by Razvan Nazdravan
Please help by telling me how can I edit the text of a button situated in the header in WordPress. The inspect code gives me this: Special tech I want to...
2 Oct 2023 by OriginalGriff
This site isn't tech support for Wordpress - you would do better asking your question here: Contact – WordPress.com Support[^]
13 Sep 2023 by Member 16090050
In a WordPress project, I am inserting a PHP file to do some specific form code. I wanted to change the form from a drop-down list to a group of checkboxes, and now I am having thousands of warning: undefined array or undefined variable:...
11 Sep 2023 by Richard MacCutchan
You did not show us the actual error message(s), so this is something of a guess. But the variable $plateauType only exists within the scope of the calculdebit function. So your reference at the bottom of the HTML posted above, will be undefined.
29 Jul 2023 by RamasamyVis
I use the NiWooCommerce plugin to work with Order Statuses in WooCommerce ( in my Wordpress site) . I want the 'Pending payment' orders to show up in the Store >> All orders page. How should I go about it. What I have tried: Fiddling with ...
20 Jul 2023 by Pawan Dwivedi 2021
Is there any skincare API available that I can integrate into my client's WordPress website? The API should support functionality like uploading a face picture and returning information on face problems such as acne, pigmentation, etc. If anyone...
20 Jul 2023 by Patrice T
Quote: I tried searching on Google for potential APIs, but unfortunately, many of them turned out to be quite costly. So you found ! As it is medical diagnostic, the API maker hold responsibility, and such thing comes with cost. By the way, make...
20 Jul 2023 by OriginalGriff
If such an API exists (and it probably does) it's going to be really specialist, and almost certainly proprietary - an intellectual property that a make manufacture has invested a considerable amount of effort in and would be unwilling to share...
19 Jul 2023 by Richard MacCutchan
If there is such an API then Google is the place to go to find it. This forum is for specific technical programming questions.
19 Jul 2023 by Andre Oosthuizen
You are almost there :). From what I can gather, you want the first part of the title to be displayed separately from the rest of the title. I have used the hyphen character ('-') as the delimiter instead of ' - ' with spaces between the hyphen....
18 Jul 2023 by Nonso Nkwoji
I’m trying to split my WooCommerce product title into 2 lines, currently, it looks like this 0101-12-12 – 3/4″ MNPT X 3/4″ MNPT STR, I want the title description to look like the below without hyphens: 0101-12-12 3/4″ MNPT X 3/4″ MNPT STR ...
17 Jul 2023 by the wolf 2023
Hello there guys, may you please help me? I have no idea how to connect WooCommerce REST API to software that's working on a computer in the real-time store. To be more precise, there is software on the computer in the store and when a client...
17 Jul 2023 by Andre Oosthuizen
I have answered this same question from you a while back at - How to connect stock items on wordpress ?[^] by suggesting that you use Quote: Square for WooCommerce .
17 Jul 2023 by Richard Deeming
If it's an inventory software system that you've written, then you need to write some code to connect it to the API. Since we can't see your code, we can't tell you how to do that beyond pointing you to the manuals for whatever programming...
17 Jul 2023 by OriginalGriff
Please don't repost if your question does not appear immediately: all of these went to moderation and required a human being to review them for publication. In order to prevent you being kicked off as a spammer, both had to be accepted, and then...
4 Jul 2023 by KiranSharma1
I am using ad inserter sticky block feature for the ad in my website. When I apply overflow-x:hidden he sticky block is not behaving as expected What I have tried: And I using this css to disable horizontal scrolling on mobile devices. @media...
4 Jul 2023 by Richard Deeming
Hidden overflow has always caused problems with sticky positioning: [css3 positioning] support position:sticky inside an overflow:hidden|auto on general parents · Issue #865 · w3c/csswg-drafts · GitHub[^] In particular, setting overflow-x:hidden...
25 Jun 2023 by Andre Oosthuizen
Let Google be your friend here - Square for WooCommerce[^]. This manages - Quote: Accepting payments is easy with Square. Clear rates, fast deposits (1-2 business days). Sell online and in person, and sync all payments, items and inventory. a...
25 Jun 2023 by the wolf 2023
Hey guys, so my client is asking from me to connect WordPress stock items to cash register. To be more precise, he is asking from me to connect how many items are available in the real world store and website. If someone buys 1 pair of "Nike"...
23 Jun 2023 by Gábor Angyal
A walkthrough on how to create a real staging environment for WooCommerce
21 Jun 2023 by Andre Oosthuizen
There are quite a few help documents that will assist you. 1) Quote: if they do not pay WooCommerce plan for their account, does my client site disappears from the internet? No, the site will still be active including themes. Any other...
21 Jun 2023 by the wolf 2023
Hello there guys, I will write a bit longer message then usual. So several days ago a client contacted me and asked me to look at his site because someone created him a website using WordPress not by coding. Now the client is not satisfied with...
7 Jun 2023 by OriginalGriff
So go back to the site you got the code from, and ask there: they will know both the code and whatever "formidable forms" actually is far better than we would. We are not technical support for wordpress plugins!
7 Jun 2023 by Talha Ijaz
I am using the Formidable Form Pro plugin for a job post form. I have added a "Register User" action in the form using: https://formidableforms.com/knowledgebase/using-add-form-actions/. On first time, the job is being posted and user is being...
5 May 2023 by premiery
I have a problem with the index.php file on my website https://kinemax.cc/ Every time I try to open it the message "Silence is golden" pops up. What is it? I'm using the dooplay theme, and it's making my job terribly difficult when I can't edit...
19 Feb 2023 by Borna Goljevscek
I got a problem with menu and adding scroll to it. I dont want horizontal scroll, I want vertical scroll and then when I hover over lets say "GELOVI" in shop I want that sub menu to pop out like it does without a scroll. If you didn't...
11 Feb 2023 by Dave Kreskowiak
Ask your question in the Wordpress Forum[^].
11 Feb 2023 by KiranSharma1
Despite returning the adinserter() function correctly, the ads are not appearing and only the ad header is being displayed. I am not sure what is causing this problem and would greatly appreciate any assistance in resolving this issue. Could it...
31 Jan 2023 by Dave Kreskowiak
The best place to ask your question is the Wordpress Forum[^].
19 Jan 2023 by KiranSharma1
I am experiencing an issue where the 'to' and 'from' attributes in my shortcode are working properly, but the 'amount' parameter is not. When attempting to change the value of the 'amount' parameter through the shortcode, the result is of always ...
15 Jan 2023 by Jjopkjj
Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /home/worldwise/www/wordpress/wp-includes/load.php:585 Stack trace: #0 /home/worldwise/www/wordpress/wp-settings.php(243): wp_magic_quotes() #1...
9 Dec 2022 by Daniele Fontani
Implement a private Wordpress reposiotory using Angular and PHP slim framework as backend
6 Dec 2022 by Priyanshu Sharma 2021
Hi, I am creating a custom plugin and want to create a shortcode in this file. I am using this code function wpb_resultData_shortcode() { $message="hello"; echo $message; } add_shortcode('show_Data',...
6 Dec 2022 by Dave Kreskowiak
I have no idea what a "shortcode" is, but I did Google it and found this[^].
2 Dec 2022 by Member 15851569
for next use 'true', get_boundary_post($same_cat_do, $exclude_terms, true, $same_cat_category); for prev use 'false' get_boundary_post($same_cat_do, $exclude_terms, false, $same_cat_category);
1 Dec 2022 by FelipeAbreu1007
I need help, I created a custom post type with the name “solution“, this way when I load a post and open it in the browser my link is: http://www.mywebsite.com/solution/nameofsolution However I would like all these posts within the custom post...
15 Nov 2022 by OriginalGriff
There is nowhere near enough information here for us to begin to help you - we have no idea what you are trying to do, or where you are starting from. We have no idea what you code looks like, or what might be happening when you try to run it....
15 Nov 2022 by Aman Gupta Aug2022
It is working fine in localhost but when i updating it on live site it giving following error- {"data":[{"code":"INVALID_DATA","details":{"maximum_length":20,"api_name":"Subscribed_Newsletter"},"message":"invalid data","status":"error"}]} You...
17 Oct 2022 by OriginalGriff
Talk to WordPress tech support: Contact – WordPress.com Support[^] - they will probably have access to your site as well as experience with such problems. Us? We don't even know the URL, much less how you wrote your code ...
5 Oct 2022 by Darzee The Great
So I'm building a template for a page(template-clock.php), but the original out-of-the-box classes of tailwind CSS just work fine but my custom ones are in the tailwind.config file: //THIS IS THE tailwind.config file code: /** @type...
14 Sep 2022 by Ibrahim Zoouadi
Overview: I use Ezoic to show ads on my site. It uses many ad exchanges such as Google Ad Exchange to bid against my Adsense ad inventory, and the winner will be shown on ad placements. Problem: Google Ad Exchange wins most of the time, but...
14 Sep 2022 by RickZeeland
Maybe you can use one of these webpage-change-detection-and-notification-software-tools[^]
14 Sep 2022 by OriginalGriff
Talk to Ezoic: they will know their product much better than we will. Though to be honest, I wouldn't bother with them: going to their site to find a tech support link for you failed when I tried to use the "manage settings" button and got a...
12 Sep 2022 by Bill Mayheptad Ritchie
Hello coders in the house. I am a complete beginner, i saw something on thewpclub. Net and i want to implement the same on my WordPress blog. When someone click a download link, i want another browser tab to open and display a countdown timer like 15 seconds before the main download link will...
12 Sep 2022 by Member 15765378
I Have this same question and i found a lot but didn’t fount the correct answer , pleeease let me know if you got any solution.
25 Aug 2022 by riad Jamil
This relates to an online clothing store. We have variable products set up with colour and size attributes, for example a product might have 2 variations; Green/Any Size and Black/Any Size. There is an image of the product in the corresponding...
25 Aug 2022 by Member 15748502
/***Variable Images***/ jQuery( document ).ready(function() { var image_to_show = ''; var full_image = ''; var variations = JSON.parse(jQuery(".variations_form").attr("data-product_variations")); if(variations) { var...
29 Jul 2022 by Patrick Skelton
I'm a professional developer but a complete newbie to WordPress. I've done a fair amount of reading, and I thought I had a clear mental picture of how plugins, themes and page builders relate to each other. I like to keep things simple and so...
29 Jul 2022 by Richard MacCutchan
You would probably get a quicker answer at Support | WordPress.org English (UK)[^].
25 Jul 2022 by Mike Town
I have experienced simialit issues when Upgrading the the latest version of PHP. Luckily I initially stepped back to the previous version, to fix the issue on a temp basis. I contacted the theme developers, as they needed to be aware of the...
23 May 2022 by Member 15647985
I'm still a novice in WC, I've built an extra option to select for how many days you would like to book the service, in addition i need to make a calculation on different price, for example: if the customer will select 2x products it will cost...
10 May 2022 by sharukhajm
I have a very large dataset in the MySQL database that I want to export in a PDF file. I am working in PHP and tried popular solutions like DOMPdf and Mpdf. They all work in a similar way, preparing the complete data in HTML and feeding it to...
12 Apr 2022 by online battlegrounds
I was working on increasing the speed of my small blog and there on the plugin section of my WordPress dashboard I see a small advance.php drop-in file. So, I want to remove it but I am unable to. Well, if somebody can help me it would be just a...
31 Mar 2022 by CHill60
This is a programming forum. The place to ask your question would be Support – Official WordPress.com Customer Support[^]
30 Mar 2022 by Priyanshu Sharma 2021
How to find Tiktok icon like Facebook, As in Facebook this is the code to add the icon { content: "\ea90"; } What is Tiktok's code I am not able to find the code or if there is no code then what are the other options to add icons like this. I am...
30 Mar 2022 by Chris Copeland
The icon isn't a part of any standard font library, what you're seeing is an icon font library at work. For example: TikTok - brands | Font Awesome[^] To use them you just need to import the library CSS onto your website, then follow the...
25 Mar 2022 by Abdulrahman Mahdi
I have a website that lets the users make courses, and this course is like a regular page but different layout. When the user submits the course, the page doesn't redirect. It stays on the same page, and I want when the users click publish, it...
22 Mar 2022 by Martin Lauritsen
Hi i have an issue on how to update fields on select change, in repeater fields using Javascript api. I have and select object that pulls values from another post with Ajax and PHP, and i am getting values. But i would like to update fields, in...
10 Feb 2022 by Member 15531044
I am needing guidance with how to hide the category description (Wordpress) only when using a filter like "Brand" for a product. The current setup allows for the initial category description to show, which is fine, just needing the description to...
3 Feb 2022 by Priyanshu Sharma 2021
Hi, I want to create a page in Wordpress with code and do not want to set a custom field value while creating the page. What I have tried: Tried creating the page using this code but not able to set a custom field value. // Create post object...
26 Dec 2021 by Pixel Squirrel Studios
I have a custom post type called 'cards' and I want Users to be able to 'level up' the Cards, so I have 5 custom fields on the Cards post type (1 for each Level). These fields are an ACF User field with the return value set to array and multiple...
16 Dec 2021 by Priyanshu Sharma 2021
Hi all "Want to do it without plugin" Firstly how can I create a custom field in my custom post type where I can get the date // Our custom post type function function create_posttype() { register_post_type( '', // CPT Options array( 'labels'...
19 Nov 2021 by Mike Town
I hvae experienced similar issue with a third party plugin. After a few hours of reviewing the server logs, I came to the conclusion that it was a software conflict with the latest verion of PHP, which I believe was launched late in 2020. The...
1 Nov 2021 by Coding Student
I have created a form, as shown below that displays according to a switch statement. I am needing the inputs from the form submission to either be saved to a table in the WordPress Database or to be saved to a text file saved in the uploads...
25 Oct 2021 by Primo Chalice
I have multiple product categories and I want each category title to have a different colour. Since I am unable to get the page id I am unable to do so. I tried using the category id as well but it did not work. Please suggest me a method to...
25 Oct 2021 by w3collective
The class that get's added to the for a category with an id of 70 is term-70. So your CSS would need to be: .term-70 .page-title { text-transform: lowercase; color: #49488d;}
20 Oct 2021 by Primo Chalice
I am using a WordPress theme and I am trying to add a background to a menu element. I am able to change the background but I need to change the font colour as well for the text to be visible. At the moment it just looks like an empty block. ...
20 Oct 2021 by Member 15329613
As mentioned in the comments, use the browser's developer tools to see what actually got applied. It may be that a different css selector in a different file is overwriting it.
29 Sep 2021 by Member 15375565
const next = require( 'next' ); const express = require( "express" ); const wooConfig = require('./wooConfig'); const WooCommerceAPI = require('@woocommerce/woocommerce-rest-api').default; const WooCommerce = new WooCommerceAPI({ url:...
25 Sep 2021 by Sanad Qazi
I am trying to fetch values of 'email' from an array, This code is showing complete array: global $post; $post = $wp_query->post; $id = $post->ID; $custom_fields = get_post_custom($id); $my_custom_field = $custom_fields['offer']; ...
9 Aug 2021 by Member 15318723
object(stdClass)#2834 (2) { ["code"]=> string(3) "000" ["content"]=> object(stdClass)#2833 (4) { ["Customer_Name"]=> string(10) "Mr DsTEST" ["Status"]=> string(4) "Open" ["Customer_ID"]=> string(10) "1212121212" ["DUE_DATE"]=> string(19)...
9 Aug 2021 by Richard Deeming
Nobody can help you because we cannot see where your $thisresponse variable comes from. However, the error message suggests that it's an array of strings. The string type does not contain properties called Customer_Name, Customer_ID, etc. PHP:...
5 Aug 2021 by Amanuel Nigatu
Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($function) must be a valid callback, non-static method RtclPro\Controllers\TermMetas::category_add_map_icon_field() cannot be called statically in...
4 Aug 2021 by Chris Copeland
It would depend on the version of PHP you're using, I believe the get_magic_quotes_gpc function was removed in PHP 8.0. I'd suggest you're either using an older version of Wordpress which had the dependency on that function, in which case you...
18 Jul 2021 by Member 15292787
Wrong file name function.php. It is Functions.php. Problem solved. :)
16 Jun 2021 by crypto88
I need 301 redirects to parent categories via .htaccess file or via plugin in WP: /parent-category-1/item-1/ -> /parent-category-1/ /parent-category-2/item-1/ -> /parent-category-2/ /parent-category-3/item-1/ -> /parent-category-3/ ......
14 Jun 2021 by Geovane Souza
Trying to create a query: add_action( 'elementor/query/featured', function( $query ) { $query = new WP_Query( array( 'meta_key' = '_is_ns_featured_post', 'meta_value' = 'yes' ) ); } ); But points a fatal error: syntax error, unexpected...
14 Jun 2021 by Richard Deeming
Looking at the documentation[^], you should be using => instead of =. array( 'meta_key' => '_is_ns_featured_post', 'meta_value' => 'yes' )
13 Jun 2021 by Member 14839888
I downloaded a sql file of english dictionary. It said The syntax in the wordnet20 has a deprecated TYPE=* in the .sql file. – How can I run it Run sed -i 's/TYPE=/ENGINE=/g' wordnet20-from-prolog-all-3.sql to replace the deprecated syntax...
13 Jun 2021 by OriginalGriff
Answered only to remove from unanswered list - solved by OP.
5 Jun 2021 by OriginalGriff
Dumping over 500 lines of code on us, with an error message that says "error on line 2465" is not only unhelpful, it's downright rude. In fact, having a 2000+ lines module - even in PHP - is really silly: it;'s too big to manage properly and...
2 Jun 2021 by Member 15228323
Hi I have a button for each of the events I want and I want the user when they click it to be taken to the post, but when clicked they do not get taken to the post, rather they get taken to the front page which is not I want. The button was...
29 May 2021 by Richard MacCutchan
wordpress php - Google Search[^]
17 May 2021 by Getaka Getaka
I want to display the age in years months and days in Wordpress post given the date of birth in the post. Suppose my date of birth is 14-Sep-1984, so as of today my age is 36 years 7 months 28 days. I tried the following code, but it only...