how to display all categories in wordpress?

In the code you gave us you are selected the categories selected for the specific post get_the_ID() is doing that part. However you would be best off using another function get_categories() https://developer.wordpress.org/reference/functions/get_categories/ which you would do like so: You can also pass through arguments to be more specific (if needed) – see https://developer.wordpress.org/reference/functions/get_terms/ for details … Read more

Oxygen Builder with theme in WordPress

Acctually Oxygen is Designed to eliminates the need for WordPress themes. This Means you can not Edit WordPress Theme with Oxygen, Because Oxygen Forcefully Replaces the WP-Theme From the Run. It Seems Funny But, By Using Oxygen, Actually you are Ignoring WP-Themes 😀 😀 :D. So that In this case you must create a Oxygen … Read more

How can tune MySQL for WordPress sites?

I’m facing a problem that my MySQL database is slow, so I decided to check with mysqltuner.pl, I don’t want to make any changes before I’m sure what I’m doing. I’m running MySQL 5.7 on Ubuntu 18.04 LTS server. This is a response from mysqltuner: All of my websites are running on latest version WordPress, … Read more

WordPress – Display Random Number Between 190-250

The way I would accomplish this is with a shortcode, like this: Putting that code in your theme’s functions.php file would allow you to enter “Today I had [random_number] Coffees.” and display a random number between 190 and 250. It’s also flexible; you can do something like [random_number min=”1″ max=”10″] to get a random number between 1 … Read more