Archive for the snippets Category on desktop


The Sidebar

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


How to enable post thumbnails?

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


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


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


The posts pagination

If you don't like the navigation of the previous page of the next page, but want to display it in page numbered order, you don't need a custom plugin. WordPress has this feature! read more


Search results example – The search.php

Create a file named search.php. Insert the following code and upload it to the current template directory. read more


Search form example

This code snippet, when pasted into the sidebar, will display a search form. read more


Show timed posts that are not yet live – Show future posts

Last update: 15.09.2022.

If you are using pre-timed posts as a way to display future programs, you may have a problem that they don’t show up because they haven’t reached their dates yet. The following code snippet provides a solution. read more