If you are an active Drupal
user, you must be familiar with the sentiment across the CMS that to build a comprehensive and well integrated WordPress
, Drupal is important. To tell you the truth, Drupal work great with WordPress and you can even mimic the CMS to look like WordPress as well. That said Drupal gives you more resourceful programming features which makes it ideal for programmers. Today, we will learn how to make a WordPress blog with all its features using Drupal.
To get started, we will be employing WordPress 4.0.1. We will create two from the five basic blocks that feature on all WordPress blogs to give you an idea of how to mimic WordPress, namely:
1. Recent Posts
2. Recent Comments
Drupal uses a similar type of block known as Recent Content which is the first block you see once you create a blog on the CMS. We will have to use Views module to create a Recent Posts block. Following are the steps to doing so:
– Download and Install Views Module and Chaos Tools. Allow Views
– Click on Modules in the Admin Menu Bar, Scroll to the Bottom to Check the Block for Views and Views UI, Save Configuration, and Click on Continue to Enable Chaos Tools. Build the Block
– Click on Structure, Followed by Views, Click on Add New View, Name the View to Recent Posts, Uncheck the Create a Page Tab and Check the Create a Black Tab, Choose HTML List from Display Format and Save. Enable Block
– Click Structure Followed By Blocks and Locate the Recent Posts Block, Select the Right Sidebar from Region Columns and Save the block.
The Recent Comment block on Drupal shows the title of the comment, not the comment itself, and when it was posted. For a WordPress feel, we would like to add Views to the Recent Comments, as shown below:
Build the Block
– From the Admin Panel, Go to Structure and Click on Views, Add New View and Rename it to Recent Comments, Select Comments from Dropdown Column and Uncheck Create Page, Check Create Block, Choose HTML List, Change the Comments to Fields, Click on Continue then Click on Add Next to Fields, Type Author in Search, Click Apply, Uncheck Create Label, Click Apply, Rearrange the Comments and Remove Title Field, Locate Show Under Format and Click on Settings, Check Box for Comments and Content Title, Click on Save. Enable Block
– Click Structure and Then Click on Blocks, Locate the Recent Comments Block You Created, Select the Right Sidebar from the Region Column, Click on Save Blocks, Close Admin Overlay and Preview.As you can see, it is quite simple to create a WordPress Blog using Drupal, but not as much as the other way around. Let’s see you trying to make the remaining blocks and mimicking a WordPress blog with ease!