Category Archives: WordPress

Information related to features and web design topics with WordPress

How to Embed an Image in a Web Page

April 13, 2023

In order to create a self-contained web page that has no external links, it is easy to place all JavaScript and CSS elements in the page. However, adding an image is not straightforward. This procedure will enable you to convert an image to Base64 and embed the image in the page source. We will assume you are using… Read More »

WordPress by example: $wp_query

April 3, 2023

We should be familiar with the concept of the loop. As demonstrated below, the WordPress template logic will continue to get posts until there are no more. With each iteration of the loop, we get the post using a SQL query and save the retrieve information int the global variable $wp_query. Notice that we do not need to… Read More »