Trending February 2024 # How To Edit Themes In WordPress? – Webnots # Suggested March 2024 # Top 10 Popular

You are reading the article How To Edit Themes In WordPress? – Webnots updated in February 2024 on the website Minhminhbmm.com. We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested March 2024 How To Edit Themes In WordPress? – Webnots

Related: How to delete themes in WordPress?

WordPress Theme Files

Depending upon the structure, your theme may have different set of files. However, there are some template files most commonly used in all WordPress themes. For example, below are some of the important files available in twenty twenty-one WordPress theme.

Style.css – contains all CSS style definitions for your theme

Functions.php – here you can add functions and call core WordPress functions to make your theme work. This file acts as a plugin that enhances the features of core WordPress.

Single.php – template file for single post

Page.php – template file for single page

Archive.php – template file for archive pages like categories and tags

Header.php and chúng tôi – header and footer template files

What Features You Can Add in Theme Files?

There are many reasons you need to edit WordPress theme files. Here are some of the examples:

How to Edit WordPress Theme Files?

Before trying to edit files, make sure to understand the correct file you want edit. In most cases, you may need to edit chúng tôi file for adding additional functions to your theme. It is also common to add PHP code in single, header, footer or page templates. If you are not sure which file to edit, plat

There are three different ways to edit WordPress theme files.

1. Editing from WordPress Admin Panel

Follow the below instructions to edit theme files from WordPress admin panel.

WordPress Theme Editor

Note: If you are not seeing “Theme Editor” menu then check you have any security plugins. It is common to disable theme editor to avoid PHP file editing from the from end. Check out this article on how to disable or enable theme editor in WordPress admin panel.

2. Using File Manager App from Hosting Account

If you don’t like to edit file within admin panel, the alternate option is to edit from hosting account.

Edit Theme Files in File Manager

3. Remotely Editing with FTP

Edit Theme Files with FTP

Note: In all the above methods, you may need to clear the cache in order for the changes to be effective on the live site.

Risks in Editing Theme Files

There are multiple risks in editing theme files in your site.

Though you can edit a theme with different methods, you have the same risk in all the methods. Whenever you update a theme to next version all your changes will be wiped off. For example, you might have changed the heading color from red to blue in chúng tôi file. After updating the theme, the heading will go back to the original red color on your site. This is the reason WordPress will warn you when you try to access theme files in admin panel.

PHP Fatal Errors

Wrongly adding content in template files may break your site’s layout. For example, mistakes like leaving the PHP closing tag, forgetting comma or semicolon and adding a full stop in chúng tôi file will show you white screen of death. Therefore, make sure to follow the correct syntax when editing PHP code.

Alternate Options for Adding Functions

The best and recommended way of adding functions in WordPress site is to use a child theme. However, it will not help you in editing an existing function on your parent theme’s template file. Other option is to use WordPress Hook API and insert custom sections on your site which is not an easy task for normal users. However, themes like GeneratePress and Astra offers this as part of the theme so that you can insert custom functions.

Final Words

As mentioned, choosing the right theme is one of the daunting tasks when launching a WordPress site. many people strive for perfect theme and end up spending too much of time in adding custom functions. Later it will become a big maintenance task and you will not be able to manage at one point of time, Therefore, we strongly recommend choosing the best fit theme that offers good functions instead of editing theme files.   

You're reading How To Edit Themes In WordPress? – Webnots

How To Disable Revisions In WordPress? – Webnots

In our previous articles we have explained about basics of WordPress revisions. WordPress revisions is a core function which users can’t disable from admin dashboard. Since there are multiple issues related to these revisions it is a good idea to work on the solution before you face the issue on your own site.

There are three ways to handle WordPress revisions:

Disable the feature completely

Restrict number of revisions and autosave interval

Delete existing revisions stored in the database

We will discuss each option in detail.

Hosting Offer: Get special $2.95 Bluehost hosting deal.

How to Disable WordPress Revisions?

You need to modify “wp-config.php” file in order to disable revisions in WordPress. You can do this through “File Manager” option in “cPanel” available with your hosting account or using FTP software like FileZilla.

Add the following code in your “wp-config.php” file to disable revisions:

define('WP_POST_REVISIONS', FALSE); define('WP_POST_REVISIONS', 0);

This will disable any future creation of revisions but still one autosave revision will be created per post or page. This is due to the WordPress autosave core function which will save the post every 60 seconds to create a backup to be used in case of browser crash, computer crash or lost internet connection. Learn more about WordPress autosave.

Limit WordPress Post Revisions

Revisions are generated for each content update and results in as many as versions without much use. It is also a good idea to keep the latest four or five revisions so that you can restore it during needed situation. Add the below code in your “wp-config.php” file to restrict WordPress to keep the latest four revisions of a post or page.

define('WP_POST_REVISIONS', 4);

Change 4 to any number as you desire, all old revisions will be automatically deleted.

Delete WordPress Post Revisions from the Database

Both the above methods will be useful only to control revisions of any future post/page you create and will not have any impact on existing revisions stored in your database for the old posts. If your main objective is to reduce the database size then you need to delete all existing revisions as well. You need to edit your database using any tools like “phpMyAdmin” offered by your hosting provider. Run the following query on your database to delete all existing revisions.

DELETE a,b,c FROM wp_posts a LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id) LEFT JOIN wp_postmeta c ON (a.ID = c.post_id) WHERE a.post_type = 'revision';

This query will remove all revisions and all related meta data from database. However, remember the followings:

Replace “wp_” with your table prefix in case if you changed it during WordPress installation.

Backup your database before running any query so that you can restore it in case of an issue.

You can also use plugins to deal with WordPress revisions.

Related: Comparison of WordPress revisions and autosave.

Plugins to Disable WordPress Revisions

It may be difficult for most of the beginner level users to delete the existing revisions directly in database. There are many handy plugins available to deal with WordPress revisions effectively. Since deleting revisions is nothing but optimizing database, each WordPress optimization plugins will include the option for deleting revisions. Here we discuss the the following three plugins in detail:

Related: WordPress revision issues and fixes.

WP-Optimize

WP-Optimize is a one-time plugin offers various features including deletion of existing revisions from database. Just download, install and activate the plugin. You can see currently how many post revisions are available on your database, select the required check boxes to clean up and process it to delete all revisions.

WP-Optimize Delete Revisions

In addition to manual processing, this plugin also offers auto scheduling of revisions cleanup with minimum weekly frequency.

WP-Optimize Auto Scheduling of Delete Revisions

You also have an option to keep specific week data and delete anything before that. This will be useful to keep the recent weeks data and delete all old revisions from database.

WP-Optimize does not provide any option to restrict or disable revisions.

Better Delete Revision

Better delete revision is another plugin allows you to delete all existing revisions on database. Just install, activate the plugin and you will see two options for checking revision posts and optimizing your database under Better Delete Revision Manager.

Better Delete Revisions Manager

Checking revision posts will show all the revisions stored in database with an option to delete them.

Delete Revisions in Better Delete Revision

Optimizing database option will check the status of database tables and fix the problem if any.

Database Optimization with Better Delete Revision

Better Delete Revision plugin does not provide any option to restrict or disable revisions.

WP-CMS Post Control

In contrast to the previous two plugins WP-CMS Post Control is a unique plugin offers various controls over publishing your WordPress posts based on user roles under “Post Control” section. Under “Core Functions” it offers disabling both autosave and revisions for any future posts and limit the revisions to any predefined count.

Core WP-CMS Post Control Plugin Functions

WP-CMS Post Control plugin does not provide an option to delete existing revisions.

How To Detect Ad Blocker In WordPress? – Webnots

Why Publishers Show Advertisements?

VPS or dedicated server – $100 per month

Plugins and themes – $50

Content writing and review for around 30 articles – $1000 (approximate cost)

Development and other work – $200

Content publishing and updating old content – $200

Responding to readers, customers and other queries – $200

Note that all costs are approximate as the license and requirements vary largely. The basic cost of running a decent website is $1750 per month. This can increase multifold depending upon the type and size of the site. For example, in addition to the above expenses we also need to purchase other hosting accounts, premium themes from themeforest, premium plugins from codecanyon and also hire freelancers for custom work. Therefore, every publisher needs to monetize their online content in order to run a website and take care of other life expenses.

What is Ad Blocker?

Ad Blocker Extensions

How to Detect Browser’s Ad Blocker Extension?

There are many WordPress plugins available for this purpose and we will explain setting up this with the popular “Ad Inserter – Ad Manager & AdSense Ads” plugin.

Using Ad Inserter Plugin in WordPress to Recover Ad Blocker Revenue

Install Ad Inserter Plugin

Ad Inserter is a free plugin that offers limited functions and you can upgrade to the pro version for getting complete features. Ad block detection is a free feature in this plugin though you can upgrade to premium for getting detailed statistics and reports.

Enable Ad Block Detection

Action – you have two possible options. You can either show some message in the pop-up or redirect the user to a different page. You can use the pop-up message and request users to unblock your website. Alternatively, redirect those using ad blocker to a page on your site and ask them follow certain actions like subscribe to read ad free content. We recommend using dismissible pop-up message with an unblock request to convince users.

Ad Inserter Ad Blocking with Redirection

No action for – you can disable the ad block detection action for logged users or administrators. Leaving this as a blank will make the changes effective for all users.

Delay Action – show the action after defined number of pageviews. For example, you can show the ad blocker detection pop-up message after 2 pageviews.

No Action Period – enter number of days for repeating the action. For example, if the user dismisses the pop-up without unblocking, you can decide not to show the pop-up again for 5 days. In this case, you have to enter 5 in the text box.

Custom Selectors – add custom CSS classes or ids if needed. Generally, you can leave this as blank unless you want to add custom CSS.

Message and Overlay CSS – adjust the display of the pop-up message by changing the width, padding, margin, etc.

Adjust CSS of Popup Message

Undismissible Message – enable this checkbox so that readers can’t disable the pop-up message. The only option for readers is to unblock your site from the ad blocker and refresh the page to reload without ad blocker.

Not Undismissible for – choose logged in users or administrator can dismiss the pop-up from this drop-down.

Enable Popup Message Settings

Testing Ad Block Detection

Ad Block Popup Message

Test your site both in desktop and mobile and adjust the CSS if needed for displaying the pop-up message properly.

Example Message for Pop-up

Sometimes it is necessary to first find out how much is the revenue you are losing with ad blocking. Since ad block statistics is a premium option in Ad Inserter plugin, you can use the redirection or pop-up non-dismissible option. This will help you to track the pageviews or force the users to disable ad blocker. However, as a matter of courtesy, you can use dismissible pop-up message with a polite message.

Instead of stuffing the pop-up with too much content, you can show the below simple message while conveying the context.

In most cases, users will whitelist your site if the content is useful and your request is legitimate.

Final Words

How To Setup Maintenance Mode In WordPress? – Webnots

Coming soon or maintenance mode is single page shown to users for different reasons. May be you are preparing a new site for launching or you are troubleshooting an existing site. In such cases, you should show a coming soon or maintenance mode page to users to avoid them seeing unnecessary details. Also, this is required to avoid search engines indexing your raw data before it is ready for publishing. If you are also using Weebly, learn how to create maintenance mode page for Weebly site?

When to Use Maintenance Mode?

Creating a website needs lot of time. It is unlikely you can create all the content in few hours and launch the entire site. Most of the time, you may need to many days or even months to launch a new website depending the size. The best option here is to create a staging site and start creating your content. Alternatively, you can create localhost website and move to live WordPress site when you are ready.

However, not all webhosting companies offer staging feature and you may not have much time to create local site. The solution here is to create a live WordPress installation and setup a coming soon page till the time your content is ready for publishing.

On other hand, many reasons your live site needs to be taken down like planned maintenance, troubleshooting or migration purposes. In this case, you should setup a maintenance mode page to inform users about the activity and the expected time when your site will be back online. The good part is that you can use single plugin for showing either coming soon or maintenance mode. Alternatively, use a custom code snippet without plugin or use theme options if it is available in your theme.

1. Maintenance Mode with Plugin

Coming Soon WordPress Plugin

Surprisingly, the plugin has 900k+ active installations. We wonder why so many active installations are not going live.

Setup Coming Soon or Maintenance Mode

Though on the “Settings” link under the plugin name or go to the menu item “SeedProd” in the dashboard. Though you will see different tabs on the settings page, you only need setup under “Content Tab”. Most of the options in other tabs like design and subscribers are for pro users. Similarly, except “Settings” menu, all other options for only pro users.

Content Settings

SEO Offer: Optimize your site with Semrush Pro special 14 days free trial.

License Key

The free version does not need any license key. If you want to explore more then purchase the premium version for the price of $29.60 per year for one website. You will get 20% discount on this price when purchased through your WordPress dashboard link.

General Settings

Here you can enable coming soon or maintenance mode. Remember, you will still see the site’s content when you logged in. You should log out or use different browser to see the coming soon page.

General Settings for Coming Soon

Page Settings and Header

You can setup the following details:

Add a logo to show on your page.

Headline and message for your page. Remember to add message relevant for coming soon or maintenance mode.

Add favicon, title, meta description and analytics code under “Header” section.

Header Settings

Viewing Live Preview

Coming Soon Page Preview

Additional Options

You can setup a background image, setup image parameters and add CSS under “Design” tab.

By default, the plugin will exclude login, admin and dashboard pages to avoid lock out of your site. However, you can disable this to include admin pages to show maintenance mode under “Advanced” tab. If you enable this option, then you may need to disable the plugin through FTP to login to your site.

“Advanced” section also has options to add header and footer scripts on your page.

Advanced Settings

2. WP Maintenance Mode Without Plugin

Instead of using a plugin, you can insert the following code snippet in your theme’s chúng tôi file. This is will enable a simple and quick maintenance mode.

function maintenace_mode() { die('Maintenance.'); } } add_action('get_header', 'maintenace_mode');

Learn more about editing chúng tôi file and it should look like below:

Maintenance Mode Code in Functions PHP File

After updating chúng tôi file, make sure to logout of your WordPress admin panel. Open the site’s home or any other page in the browser and you should see a quick maintenance message like below.

Site in Maintenance Mode

3. Using Theme’s Options

Most of the premium themes have a built-in maintenance mode feature which you can use instead of the plugin. For example, the popular Highend theme offers coming soon mode as a module that you can enable whenever you need.

Important Points to Remember

Remember the following points when you setup coming soon or maintenance mode in your site:

Showing coming soon or maintenance mode will hide all the pages on your site.

Regardless of the page, all users, except admin, will see a coming soon or maintenance mode page.

You can still view the pages when logged in to admin panel as an administrator.

If you want to have a new product launch then ensure to create a new post or page and setup countdown timer.

14 Best Travel Blog WordPress Themes In 2023

I think one of the nice things about travel blogging is that you don’t even need to leave your own country to do it. If you’re living in the US – you got endless opportunities to visit other states and document your experiences. But, understandably, for a lot of people – blogging about travel means visiting countries outside of the norm.

Back in the 2010s – I lived in Southeast Asia for several years. And, whenever I couldn’t find good sources of information locally – I’d turn to online blogs. There’s so much to learn from people who have already done something you’re looking to do. On top of this, in the long term, you can turn your travel blog into a lucrative business.

As an example, numerous YouTubers do travel vlogs and team up with travel agencies or hotels to do custom reviews. A sponsorship like that can net you a nice chunk of money to keep your travels going. And you can further extend it in your own unique ways.

Travel Blogging with WordPress

If you’re looking for a robust publishing platform that also lets you go wild with the customization and design choices, it’s hard to beat WordPress. Whether you want to take a more personal approach to write travel blogs, or straight-up build a “repository” of travel information – WordPress offers great flexibility for both.

So, for this collection of travel blogging themes – I’m going to try and consider all the scenarios imaginable. I think some of the more important elements of a travel blog are a good presentation of photography, easy navigation, and readability. I think by combining all three, you get a nice and fluid blogging experience that’s also satisfying for your readers.

I’m also going to weigh in on how popular a certain theme is in terms of its users. If a theme has over 1,000 users – it generally means it’s easy to work with, but also delivers on the promise of good design. And in the current times, design is one of the key components of a modern website.

Let’s begin!

1. Tripster

AxiomThemes have a solid track record for building reliable WordPress themes that are based on modern features. And the Tripster theme will go well with anyone who loves a bit of a contemporary feel to their website. In fact, you get to pick and choose from 7 pre-made layout variants. Though, they all share some similarities.

In particular, the color scheme follows a nice buttercream pattern, with plenty of added elements that will help highlight your images. I also like that the authors have thought about things like email newsletters and promotions. Many travel bloggers eventually write a book about their best tips, and with this theme, you’ll be able to promote your book effortlessly.

Tripster: Key Features

Multiple options for blog post layouts, so you can always emphasize your best travel stories in a unique way.

Blog post formats include traditional, photos, videos, and galleries.

Truly responsive, including adaptive image scaling which will serve the right dimensions for desktop and mobile users. A great feature for website performance!

Wish to promote an online course or a book about your travels? Tripster integrates with WooCommerce and provides many options to run your online business.

A custom review widget that you can use to review hotels you’ve stayed at and much more.

While the bulk of the legwork is already done on your behalf, you do have the option to further style this theme with the Elementor website building plugin. And lastly, since you are going to be blogging a lot – the Tripster theme offers many unique ways to display your posts, including categorizing them through country-based stories.

2. Norway

If you’re going to focus primarily on sharing travel stories – a theme like Norway can be a nice minimalistic option. It features the traditional WordPress-style layout, with the addition of some modifications to highlight categories through various colors.

But, the main selling point for this theme is the blog post design. It features a fully decked-out full-page interface that supports full-width images. So, in other words, this theme is optimized for going in-depth about your travel experiences. The default font choice is great, but you do have the option to change them with added Google Fonts support.

Norway: Key Features

Minimal design that translates into easy navigation and emphasizes readability – make your stories stand out with visuals and text alone.

Excellent customization features through the WordPress Customizer feature. No need to tinker with writing code, simply change settings as you go.

Utilizes the excellent Bootstrap framework to add colors and promote design familiarity.

A substantial amount of style features for presenting images (arguably the most important thing for travel blogs) – so you can post galleries, full-width images, and create images with text overlays.

3. Trawell

More than being a theme for travel bloggers, the Trawell theme is perfect for travel guides.

If your approach to traveling is to visit as many countries as possible and document everything you see and learn. Then, in such a case, the Trawell theme will make it easy for you to document your journey on a country-to-country basis. On the homepage, you can highlight all the places you’ve been to by marking them on a world map.

And, you can categorize your content by using the top destinations widget. This lets you present your stories in a way that’s most relevant to your readers. But, also makes it much easier for search engines to discover your pages for that juicy organic traffic.

Trawell: Key Features

This theme is focused on helping you create a large online directory of all the places you’ve traveled to. In effect, this feature makes it easier for readers to navigate through your site and find the destinations they’re most interested in.

A stylish approach to blog design – including author information (with a profile picture), social sharing buttons, and quick navigation to the next/previous article.

Clean design, with colors helping to separate areas like sidebar and content from one another.

Instagram widget which can be placed at the footer of your site with real-time updates.

I think you’ll quite like the blog post layouts, too. They come in a number of varieties, and have features like a floating sidebar, Instagram feeds, and more.

4. Avventure

Here we have a nice full-on theme for both travel but also lifestyle bloggers. It has all the modern features you see on top-notch websites, helping you not only present your stories but also to present yourself as an expert in all things travels.

So, first and foremost, this is a modern theme. It’s important to note that because it will take some time to set everything up. For example, the Destinations page can be organized in a way to showcase your stories not only from countries but also from individual cities.

Avventure: Key Features

Professional design with custom icons and vector illustrations, ideal for anyone who is looking to make their travel blog into a brand name.

Comes with the ThemeREX Addons plugin – this one lets you control aspects like social sharing, Google Fonts, and general performance settings.

Mobile-friendly and optimized for things like smooth swiping, Retina displays, and sliders that work with mobile devices, too.

Build your own Header and Footer styles using an in-built builder.

You can also do things like adding a video introduction of yourself. Then, list out all the places you’ve been to and add a smooth filter effect. E.g. Your readers can filter out countries without needing to leave the page. Above all, the design will help to present you as someone who has made their travel lifestyle a permanent thing.

5. Ink Ink: Key Features

If you’re not looking to brand yourself, the Ink theme does a fantastic job at helping emphasize stories over business-like features.

Works great with the Gutenberg editor, so you can use external Block plugins and things like WordPress Patterns to design your blog posts.

You can enable Widgets for separate sections of your site, then add custom Widgets to those sections. This is great for things like displaying social feeds, but also your best posts, categories, and much more.

6. MyVoyage

As far as what I like in design, I’m quite pleased with this pick. I think if I landed on a travel blog using this theme I might confuse it for a custom design. Even with all the experience I have working with WordPress. The Travel Blog layout has some fashionable features like clean typography, custom icons you can add to categories, and also a newsletter signup form – both as a site section but also a slide-in popup.

The blog posts you share can be displayed either as full-width or you can show your sidebar, also. But you can also do it on a per-post basis. For example, if you’re doing a long-form story it’s probably better not to use a sidebar. So having this theme provide that feature is great.

7. Eaven

It’s not uncommon for travelers to team up and work on a project together. And if that project happens to be covering travel stories – this is a great theme to consider. The overall feel is designed to have a professional notion to it. As such, it will work great in scenarios where you have multiple writers producing great travel content.

Also, make sure you check out every single post display preset. There are more than a dozen ways to display your latest posts. Be it on the homepage or in categories. If you want to emphasize images over text – you have an option for it and vice-versa.

Live Preview through the Customizer feature is also available. Change up fonts or manage colors and see what it will look like in real-time. Though, with so many options to manage this theme already included in the settings – you just need to find a style that works for you.

8. Vasco

I’m a huge fan of Pixelgrade themes. If you have ever looked at the demo of more than a few WordPress themes – you’ll immediately know that Pixelgrade is different. And the Vasco theme is a superb choice for individuals who want to document their journeys. It’s a theme solely optimized for personal use by travel bloggers who wish to start an online platform.

The creamy color texture combined with fantastic site elements will help you put yourself in the spotlight of your community. You can categorize your posts on a country level, then insert a homepage widget that showcases a custom image for each category. You can add a fancy Instagram feed that also contains your other social media links.

But, more importantly, the Vasco theme also includes several modern elements. E.g. A unique blob widget was added to featured images for that stylish look. And even a custom badge that you can design yourself and then use as a means of self-branding.

It’s quite unique.

9. Vihan

If you struggle to make a decision for the perfect design, I think it’s hard to go wrong with a theme like Vihan. It has all the resemblances that you’d find in other popular travel blogs, and it makes it easy for you to brand yourself as an established traveler.

The homepage has ample layout variations as do the sidebar placements. So, if you put it all together, it’s more than 20 different layouts you can achieve. In the event that you won’t write your blog in English – the Vihan theme supports both RTL and WPML.

When all is said and done, this is a theme that’s designed to be clean and modern. You’ll love the numerous options for publishing blog posts, too. Whether it’s galleries, videos, standard posts, or status updates. All you have to do is select the post format and the theme will render a custom design for you.

10. Hobo

As a traveler, you’re probably already familiar with the term digital nomad. Which in recent years has also been amplified by the concept of remote work. So many people are now transitioning to a digital work environment. And if you happen to be in that category, the Hobo theme is an ideal choice for writing and sharing your experiences.

I’d say, fundamentally, it is a theme for writers. It maintains its unique features and design elements, but the primary focus is on content. And, interestingly, the Hobo theme does work with eCommerce (WooCommerce) as well. So if you want to make a little side-hustle happen, you won’t need to spend hours on end designing your online store. It’s already done.

11. Felly

The Felly theme has quite a feminine vibe to it. As do quite a few other travel themes in this collection. I think, more than emphasizing that women tend to blog more about travel than men, it’s also about the ability to portray a vibrant and buzzing personality.

I like that content in this theme feels “separated”. From a design perspective, it makes a good reading experience and lets your readers focus on one thing at a time. And, the Instagram feed widget in the footer section is also really nice. That one, in particular, can be further expanded on by adding links (social icons) to your other social media profiles.

12. Rodberg

I won’t assume that you know everything about WordPress, but this theme is specifically built for the Gutenberg Editor. In short, Gutenberg lets you style your blog pages and posts directly from the editor in which you will write your blogs. And that’s useful because you never need to leave your editor to achieve a particular design outcome.

As for the theme and its features, it’s a practical (standard-style) WordPress theme. It’s possible that a more modern theme can feel overwhelming. And, for those cases, going with something like Rodberg makes a lot of sense.

If you do happen to want to style things yourself, you have the option to do so. All the while, you get a default layout that is optimized for readability and easy navigation.

13. Ofelia

If full-size images with large typography are your thing, you’ll like this theme. As do many travelers who are already using it for their travel blogs. The use of image-based browsing creates a nice visual presentation and perhaps helps to trim that overly professional feel.

It’s not uncommon for travel bloggers to write their content with the intention of having it perform well in search engines. And if that is the case with you – Ofelia has both a good structure but also full-on SEO optimization. The lack of branding elements will help elevate your productivity as you focus on writing rather than promoting yourself.

14. Travelosophy

If I’m not mistaken, the Travelosophy theme is the newest (most recently published) addition to our list. So, if you’re going for a truly unique look that nobody else is using – this is the prime choice for you. And it includes all the mandatory features to justify being a true travel theme as opposed to one for storytelling or practical blogging.

Those features include the ability to divide content categories into destinations. But also to help you grow your following through numerous subscription modals and forms. If you love to visually edit the site yourself – Travelosophy works well with the Elementor plugin.

Neuron Themes – the authors for this theme – also do something called unique features, which is a collection of widgets and plugins unique to their themes. For example, you can build custom popups, add eCommerce functionality, or use dozens of widgets to expand upon an already fashionable design.

Summary

As with all things WordPress, you do have to take the time to explore each theme individually to get a proper feel for it. I’d say, one of the main reasons people (sometimes) disappoint themselves with a particular choice is because they take the demo layout for granted.

At the end of the day, you’ll be adding your own images. You’ll be removing certain elements, and adding others. And by doing so, perhaps the outcome of a design might change. So, what I am trying to say is – when you decide on one of these WordPress travel themes; make sure you’re satisfied with how much flexibility each theme gives you to adapt to your needs.

How To Add Table Of Contents In WordPress Site? – Webnots

Google loves to index long text content. However, reading lengthy content is a difficult task from user’s perspective. Most of the users may be interested to read only certain portion of the article. In this case, you should have a clear structure with table of contents so that users can easily navigate to the required portion. In this article, let us explain how to add table of contents in WordPress posts.

Let’s Take an Example

Let us take an example case where table of content is required. We write many shortcut tips to quickly get things done. However, the shortcuts of a same app are different in Windows, Mac and on mobile devices. The fact is that users want to check the Mac shortcut may not be interested in Windows / mobile portion and vice versa. In this case, it makes sense to have a table of content at the start. This will help Windows, Mac or mobile users to quickly navigate to their interested section without going through other content.  

Most importantly, Google will show the links from table of content in search results. When user searching with Mac in keyword, Google will show the “Jump to” option in the search result with the link to go to Mac section directly.

Table of Content Link in Google Search

The final published table of contents will look something like below on your site:

Table of Content Example in WordPress

How to Add Table of Contents in WordPress?

You can manually create an ordered list for your article using Word / Pages document or with HTML list tag. Add the list on your post using list block or embed the HTML code using Custom HTML block. However, this is time-consuming task when you have large number posts to create or have many existing posts. The easy option is to use a plugin to get the task done.

Using Easy Table of Contents Plugin

Install Easy Table of Contents Plugin

The plugin has 80K+ active installations with good rating.

Setting Up Table of Contents

After see single page settings in an easy to understandable manner.

General Options

General options section is the main section you can setup to control where the TOC should appear on your site.

Enable Support

When you have multiple post types on your WordPress, select which post types you want to add table of content. Select posts and pages to enable support.

Enable Support and Auto Insert

Auto Insert

This is useful option when you have existing posts on which you want to insert table of contents (TOC). Select the post types to auto insert TOC. Uncheck all the items, if you don’t want to insert TOC on older posts. Auto insert also will insert TOC on newer posts, however you can control the behavior in post editor.

Position

The plugin allows you to insert TOC in four different positions:

Before first heading – this is a default option

After first heading

Top

Bottom

Set Position for TOC

We recommend you to use the default option, so that you have TOC before first heading on the article.

Other General Options

Remaining general options are to control the behavior of TOC.

Show TOC only when the article has certain number of headings.

Add header label and show / hide.

Allow users to toggle the visibility of TOC. Enabling this option will allow users to expand or collapse the TOC display.

Initially hide or show the TOC when the page is loading first time.

Show the headings in hierarchy based on H1 to H6 level.

Use the counter as decimal, numeric, roman or none.

Enable or disable smooth scroll.

These are exhaustive options to setup the TOC on your site. You have two more

Appearance Options

Under this section, you can customize the width, font size and weight for your TOC display. You can also select one of the predefined themes or create your own color theme to suit your site’s display.

Appearance Options

Advanced Options

Advanced section allows you to include the heading levels and exclude the wildcard words. For example, you can exclude the heading with words “fruit*”.

You can make the anchors in lower case and use hyphens instead of underscores.

Restrict the TOC to posts or pages only on certain path.

Add default anchor prefix and widget suffix selector.

After changes. If you have enables auto insert then the plugin will automatically insert TOC all existing posts.

Using Table of Contents in Post Editor

The global settings will control the behavior of table of contents on all the posts. However, you can have control on individual post level using the meta box in post editor.

You can enable or disable TOC on individual post.

Select the heading level for TOC and insert alternate custom TOC heading.

Exclude heading from TOC.

Table of Contents in Post Editor

Table of Content Sidebar Widget

The plugin also offers a TOC widget that you can add in sidebar widget area.

TOC Widget

The widget will show the TOC of the corresponding post in sidebar. You may need to use fixed widget sidebar so that the widget will float when user scroll down the content of the post. You can highlight the active section in different color, so that users can easily understand when reading the content.

Be careful when using TOC widget on default site wide sidebar. This may create PHP error when the post is not eligible for TOC as per your settings. Also, it will create PHP errors when you only enable TOC on posts and show the sidebar widgets on pages and custom post types. You can try using different sidebars on different post types to avoid this issue or use widget visibility option with Jetpack plugin.

Conclusion

Table of Content plugin is a forked version of the Table of Contents Plus plugin. on the dashboard. You can easily insert TOC anywhere on the content or sidebar and control behavior. Remember, it is a free plugin so the support will not be instant as you can see the support forum on WordPress site. If it doesn’t work, you can simply delete and try another plugin without any issue.

Update the detailed information about How To Edit Themes In WordPress? – Webnots on the Minhminhbmm.com website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!