open

Archive for the snippets Category on desktop

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


10.10.2022.

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


05.10.2022.

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


25.09.2022.

Search form example

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


10.09.2022.

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