wordpress-love

While publishing tutorials you might have struggled to add blocks around “Codes” that you wish to share with your audience. Some people use plugins, but with a simple trick, you can publish your codes with blocks without installing any plugins.

For an instance you can use the following code in your posts; just make sure to use a text editor instead of a visual editor:

<Pre><PRE STYLE=”font-family:monospace;
font-size:0.95em;
width:90%;
border:red 2px solid;
color:white;
background-color:#000000; “>
bodHOST Bandwidth on Demand
</PRE><Pre>

The result will be like this one:

bodHOST - Bandwidth on Demand

Here, tag “pre” and create a block for your code then you can define font family, font size, width, border color, font color, and background color according to your taste. That’s it!!!

Are you looking for managed WordPress hosting for your blog or new website, You must try bodHOST web hosting services.

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

WHM -litespeed and Apache

How to switch between LiteSpeed and Apache in WHM

In this tutorial, we’ll explain how to switch between Lite Speed and Apache in WHM.…

How to Manage a Virtual Directory in Plesk

It is pretty easy to modify the virtual directory in Plesk. And so, in this…

Steps To Backup And Restore Your Files In Plesk

1. Log in to the Plesk admin area.2. Select the “Back up ” option. You…