Word Press Snippets categorised as WordPress


What does the_content and get_the_content do in WordPress?

What does the_content and get_the_content do in WordPress?

The WordPress functions the_content and get_the_content are used to pull the main text area from the page or post. The difference between them …

Change The Color Of Wordpress Admin Dashboard Icon In The Menu

How to change Dash icon color in WordPress admin menu with CSS?

Change the default color for dash icon in the admin menu Probably you have this question when you create a Custom WordPress Theme …

How To Create Simple Wordpress Loop For Posts And Display It In Single.php

How to create simple WordPress Loop for posts and display it in single.php WordPress Theme file

If you want this code to work for you your single.php or page.php file should use both default Wordpress functions to get header and footer content like below

quickly install Roots Trellis and Bedrock for local development environment on Windows

How to quickly install Roots Trellis and Bedrock for local development environment on Windows?

Trellis is a LEMP stack for WordPress local development environment. In this short tutorial I will walk you through the installation itself but be …

Roots Trellis and Bedrock dependancies for your Windows PC

What do you need to install on your Windows PC for work with Roots Trellis and Bedrock stack.

I have compiled a list of programs that you need to install on your Windows PC in order to run Roots Trellis and Bedrock Wordpress development stack. …

Generate WordPress wuery based on single category slug

Create a query from a single category slug

The function below creates a WP_Query object and takes two variables. $cat – category slug and $per_page – how much posts should be …

Add "Multi Select Checkbox to Contact Form 7

How to add HTML elements to Contact Form 7 (Multi Select Checkbox)

You can place HTML form elements in Contact Form 7 plugin form editor. Yes, that is correct 🙂 The example shows multi-select checkboxes …