open

Archive for the snippets Category on desktop

15.01.2023.

How to enable post thumbnails for custom post types too?

To enable the featured image function for a custom post type too, insert the following code snippet into the functions.php file. read more


14.01.2023.

Remove the built-in wordpress jquery

It often happens that certain functions are blocked by the built-in jquery javascript of wordpress. read more


05.01.2023.

Featured image alternatives on three levels

If you forget or can’t set a featured image, it won’t look very good on your website. read more


30.12.2022.

WordPress random image from directory

How to use a randomly selected image from a folder? If you use the code snippet below, the code will select an image from a random folder in the uploads folder. read more


25.11.2022.

The Sidebar

You can use the following code snippet to call sidebar and display the widgets in sidebar.php
read more


10.11.2022.

How to enable post thumbnails?

Paste the following code snippet into the current template functions.php and save or upload it.
read more


20.10.2022.

How to customize the default wordpress gallery shortcode output

If you paste the following code snippet into functions.php and save or upload it, the default div id gallery will be replaced by the div class gallery in the example below, which you can style in css.

read more


15.10.2022.

The posts pagination styling code snippet and wordpress plugin

I created a simple wordpress plugin to customize the built-in pagination, but you can also use the code snippet. read more