Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

edocbuhtig/wordpress-custom-theme-bootstrap-starter

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Bootstrap 5 Starter Theme, for WordPress with SEO meta tags

Clone repo upload the (zip) to themes folder and activate from admin panel, create few pages, create a new menu add pages to the menu, select menu location save and browse the site.

External lib includes, as follows:

Last tested locally on WordPress 5.x running PHP Version 7.4.1

Search Engine Optimization, meta tags, title tags

Adding meta tags as below:

function theme_demo_header_metadata() {

    if ( is_page('Home') ) { 
        ?>
        
        <meta name="description" content="Free custom php wordpress theme with bootstrap">
        <meta name="keywords" content="Free custom php wordpress theme with bootstrap">
        
        <meta property="og:title" content="Free custom php wordpress theme with bootstrap "/>
        <meta property="og:image" content=""/>
        <meta property="og:description" content="Free custom php wordpress theme with bootstrap "/>
        <meta property="og:url" content="sunilkumar" />
        <meta property="og:type" content="article" />

        <meta name="twitter:card" content="summary" />
        <meta name="twitter:site" content="" />
        <meta name="twitter:creator" content="" />
        
        
        <?php return; 
    }

  
}
add_action( 'wp_head', 'theme_demo_header_metadata' );
Morty Proxy This is a proxified and sanitized view of the page, visit original site.