Creating columns in WordPress without using a plugin can be done using the built-in Gutenberg editor, which is a block-based editor. Here’s a step-by-step guide:
- Open the Post or Page Editor:
- Go to your WordPress dashboard.
- Click on ‘Posts’ or ‘Pages’ on the left-hand side menu.
- Add a new post/page or edit an existing one.
- Add a Columns Block:
- Click on the ‘+’ (Add Block) button in the editor.
- Search for the ‘Columns’ block and click on it to add it to your post/page.
- Choose Your Column Layout:
- After adding the Columns block, you’ll see several layout options. These range from two columns to more, with different width ratios.
- Click on the layout that best suits your content needs.
- Add Content to Each Column:
- Click inside each column to add content.
- You can add various types of content like text, images, buttons, or other blocks.
- Adjust Column Settings:
- With the Columns block selected, you’ll see settings in the right-hand side panel.
- You can adjust the column count, column width, and other settings like padding or background color.
- Customize Individual Columns:
- Click on an individual column to customize it.
- You can adjust the width of a specific column, add a background color, or apply custom CSS.
- Preview and Publish:
- Click ‘Preview’ to see how your columns will look on the live site.
- Once you are satisfied, click ‘Publish’ or ‘Update’ to make the changes live.
Remember, the Gutenberg editor is quite versatile and allows for a lot of customization without needing additional plugins. However, if you need more complex layouts or functionalities, you might consider using a page builder plugin or custom CSS.