SEO Book Pro Top Features

Dashboard Beta v 0.3.1 Current Features 23

Discover, analyze, get recomendations and fix Basic Technical SEO Issues now with 25+ tools and reports from the SEO Book Pro Beta Technical SEO and Website Audit Dashboard.

View All Dashboard Beta Tools
Beta v 0.2.4
SEO Book Pro Nightly Alpha Documentation
Documentation
    /api/
    /api/

    StatusPass

    API Folder The SEO Book Pro – Alpha 0.2.9 – Nightly WordPress Custom Theme also includes an /api/ folder, which

    /api/
    /assets/
    /assets/

    StatusPass

    In the SEO Book Pro – Alpha 0.2.9 – Nightly WordPress Custom Theme, you will find two important folders for

    /assets/
    tag.php
    tag.php

    StatusPass

    <!– Include Both Files on Tag Archive Template —> <!– Load header template. –> <?php get_header();?> <!– Load Footer template

    tag.php
    searchform.php
    searchform.php

    StatusPass

    <!– Include Both Files on Search Form Template —> <!– Load header template. –> <?php get_header();?> <!– Load Footer template

    searchform.php
    search.php
    search.php

    StatusPass

    <!– Include Both Files on Search Page Template —> <!– Load header template. –> <?php get_header();?> <!– Load Footer template

    search.php
    comments.php
    comments.php

    StatusPass

    <!– Include Both Files on Single Comments Page Template –> <!– Load header template. –> <?php get_header();?> <!– Load Footer

    comments.php
    category.php
    category.php

    StatusPass

    <!– Include Both Files on Single Category Archive Template –> <!– Load header template. –> <?php get_header();?> <!– Load Footer

    category.php
    404.php
    404.php

    StatusPass

    <!– Include Both Files on 404 Page Not Found Template –> <!– Load header template. –> <?php get_header();?> <!– Load

    404.php
    archives.php
    archives.php

    StatusPass

    <!– Include Both Files on Archives Page Template –> <!– Load header template. –> <?php get_header();?> <!– Load Footer template

    archives.php
    footer.php
    footer.php

    StatusPass

    <!– Start and Add WP Footer –> <?php wp_footer();?> <!– End Adding WP Footer –> </body> </html>

    footer.php
    functions.php
    functions.php

    StatusPass

    <?php // All SEO Book Pro Nightly Alpha Functions with Documentation and Information // Register Default WordPress codex Functions for

    functions.php
    page.php
    page.php

    StatusPass

    <!– Include Both Files on Single Page Template –> <!– Load header template. –> <?php get_header();?> <!– Load Footer template

    page.php
    single.php
    single.php

    StatusPass

    <!– Include Both Files on Single Post Template –> <!– Load header template. –> <?php get_header();?> <!– Load Footer template

    single.php
    header.php
    header.php

    StatusPass

    SEO BOOK PRO Nightly – Alpha v.0.0.3

    header.php
    index.php
    index.php

    StatusPass

    ## Include Both Files on Main Index Page Template ## Load header template get_header(); ## Load Footer template get_footer();

    index.php
    style.css
    style.css

    StatusPass

    /* Theme Name: SEO Book Pro Nightly Theme URI: https://seobookpro.com/ Author: Dimitar Krumov Author URI: https://www.linkedin.com/in/barmolino/ Description: SEO Book Pro

    style.css
    SEO Book Pro – Alpha 0.2.9 – Nightly README.md
    SEO Book Pro – Alpha 0.2.9 – Nightly README.md

    StatusPass

    # SEO Book Pro – Alpha 0.2.9 – Nightly Welcome to the One and Only WordPress Custom Template made by

    SEO Book Pro – Alpha 0.2.9 – Nightly README.md
View the Full Documentation
SEO Book Pro - Server Database Status

Subscribe

"Welcome to our community! By subscribing, you'll gain access to exclusive content, helpful tips, and the latest updates on all SEO related topics. Plus, you'll be the first to know about any special offers or promotions we have in store. Join our growing community of technical SEO, Webmasters, Web Developers and Marketing Specialists and stay ahead of the game. Don't miss out - subscribe now!"



Follow us on social media:

FREE Basic SEO Audit

Basic Free Site Audit and Analyze Website for Technical and SEO Errors

Brand Name
Your Email Address
Your Domain Name
Recent Posts ( 123 )
Dashboard Documentation ( 36 files )
Latest Brand and Domains Audits ( 44 )
    30 questions regarding why you need to start visit and use the SEO Book Pro
    30 questions regarding why you need to start visit and use the SEO Book Pro

    StatusPass

    What is the SEO Book Pro? Why is it important to have a website audit tool? What are the benefits

    30 questions regarding why you need to start visit and use the SEO Book Pro
    SEO Book Pro Basic Audit
    SEO Book Pro Basic Audit

    StatusPass

    URL Variants seobookpro.com Redirect Check 301 > 200 Hops 1 Canonical URL https://seobookpro.com/ Status Pass

    SEO Book Pro Basic Audit
    SEO Book Pro Basic Brand Name and Domain Audit
    SEO Book Pro Basic Brand Name and Domain Audit

    StatusPass

    Root Domain Variations URL Variants Redirect Check Hops – Select Canonical URL – Status seobookpro.com seobookpro.com 301 > 200 1

    SEO Book Pro Basic Brand Name and Domain Audit
Technical SEO And Websites Audit ( 3 Guides)
SEO Book Pro Beta v/h
Technical SEO And Websites Audit Dashboard

SEO Book Pro is a suite of SEO tools that helps website owners and digital marketers optimize their websites for search engines. The tool provides features like keyword research, on-page optimization, link analysis, and site ranking reports, among others. SEO Book Pro is aimed at both experienced SEO professionals as well as beginners who are just starting out with search engine optimization.

Latest is_archives

Custom WordPress Function the_excerpt() How to display a limited excerpt of a post in WordPress

Learn How and Why to use the_excerpt() WordPress custom function


Custom function to add in your WordPress Template functions.php file to limit the the_excerpt for your WordPress Loops for posts on the site. To display a limited excerpt of a post in WordPress, you can use the the_excerpt() function with a custom filter to limit the number of words displayed.
function custom_excerpt_length( $length ) {
return 20; // Change the number to the desired length in words
} add_filter( 'excerpt_length', 'custom_excerpt_length', 999 ); // Use the_excerpt() function to display the limited excerpt
the_excerpt();

Why to display a limited excerpt of a post in WordPress?

Displaying a limited excerpt of a post in WordPress can provide several benefits for both the site visitors and the site owner. Here are some reasons why you might want to limit the length of the post excerpt: Improved readability: Long blocks of text can be intimidating for site visitors and make it more difficult to scan for information. By limiting the length of the excerpt, you can help improve the readability of your content and make it easier for visitors to find the information they need. Increased engagement: By providing a shorter, more focused excerpt of your content, you may entice readers to click through to the full post and read more. This can increase engagement with your content and help build a loyal readership. Better SEO: Search engines like Google use the content of your post to determine its relevance and rank in search results. By providing a clear, concise excerpt that accurately summarizes your content, you can help search engines understand the focus of your post and improve its ranking in search results. Overall, displaying a limited excerpt of a post in WordPress can help improve the user experience, increase engagement, and improve the search engine visibility of your content.

Where to add the custom_excerpt_length() function in to my WordPress?


Option 1

You can add the custom_excerpt_lenght() function to limit the excerpt length in WordPress Posts in the functions.php file of your WordPress theme To add the function to your theme’s functions.php file, follow these steps:
  • Log in to your WordPress dashboard and
  • navigate to Appearance > Theme Editor
  • Select the functions.php file from the list of theme files on the right-hand side of the screen.
  • Copy and paste the custom function code at the end of the file
  • Save the changes to the functions.php file

Option 2 

Alternatively, you can create a custom WordPress Plugin and add the function to the plugin file. Here’s how to do it in 3 simple steps:
  1. Go to your FTP and find the /wp-plugins/ folder
  2. Create a new file and name it custom-excerpt.php.
  3. Copy and paste the custom function code below into the custom-excerpt.php file.
  4. Save the file and upload it to your WordPress site’s wp-content/plugins/ directory.
  5. Log in to your WordPress dashboard and activate the plugin under the Plugins menu.
Add the following code to the top of the file to create the plugin header:
/*
Plugin Name: Your Custom Plugin Name
Plugin URI: http://yourpluginurl.com/
Description: Write Short Informative Description for your Custom WordPress function to limit the excerpt length
Version: 1.0
Author: Your Name
Author URI: http://yourwebsite.com/
*/

Once you’ve added the function to your theme’s functions.php file or to a custom plugin, you can use the the_excerpt() function to display the limited excerpt in your post or page template

How to display the the_excerpt() custom function in my single.php, page.php or in to my post loops


To display the custom excerpt function in your single.php and page.php template files, you can use the the_excerpt() function as follows:
 <?php the_excerpt();?>


To display the custom excerpt in your post loops, you can use the get_the_excerpt() function instead of the_excerpt(). This function retrieves the excerpt for the current post, without actually displaying it. Here’s an example of how you can use it in your post loop:
<?php while (have_posts()) : the_post(); ?>     <div class="entry-summary">        <?php echo wp_trim_words( get_the_excerpt(), 20, '...' ); ?>     </div> <?php endwhile; ?>

In this example, we’re using the wp_trim_words() function to trim the excerpt to a maximum of 20 words and append an ellipsis at the end. You can adjust the number of words to match your desired length. Note that the get_the_excerpt() function does not automatically apply the custom excerpt length you set in the function, so you’ll need to use another method to limit the length of the excerpt if you want to use the custom length in your post loops.
Rating star star star star star | Last Modifed 11:50 am, Fri, 17 February 23 | 1981 View | 10 Comments

attribution

SEO Book Pro

Total Publication 123

Technical SEO refers to the practices and processes aimed at optimizing a website’s technical infrastructure to improve its visibility and ranking in search engine results pages (SERPs). This includes optimization of the website’s code, structure, content, and user experience.

SEO Book Pro Beta v 0.2.4 is a website audit dashboard designed to help with the technical SEO process. It provides an overview of a website’s strengths and weaknesses, highlighting areas for improvement and offering recommendations for optimization. The dashboard can be used to track and monitor a website’s performance over time, ensuring that it remains optimized and in compliance with search engine guidelines. Overall, the SEO Book Pro Beta v 0.2.4 website audit dashboard is a valuable webmaster tool for any website owner or digital marketer looking to improve their site’s technical SEO and search engine visibility.


Views 170 |
Last Edit 11:50 am, Fri, 17 February 23
Tags
  • add_filter
  • custom_excerpt_length
  • excerpt_length
  • post excerpt
  • the_excerpt()
  • WordPress
  • WordPress Posts

Related SEO Resources

Date
Brand Name
Root Domain
Root Domain Variations
URL Variants
Redirect Check
Redirect Hops
Canonical URL
Audit Status
SItemap.XML Check

Leave a Reply

FREE Basic SEO Audit

Basic Free Site Audit and Analyze Website for Technical and SEO Errors

Brand Name
Your Domain Name
Your Email Address
I have read, understand and agree to SEO Book Pro Privacy and Terms