Target Specific Content Sections
Ensure summaries pull from the correct part of your posts
Remi
Last Update 3 months ago
- Navigate to Content Configuration > Content Selectors within your WordPress dashboard.
- Add the CSS selectors (comma-separated) that encompass your main content.
By default, Postology already looks at a few common addresses, namely .post-content, .entry-content, and article.
Example:
If your website theme uses the .blog-post address for your main content, you should add that address here.
Troubleshooting:
If you notice that your summaries are coming up empty or pulling from the wrong parts of the post, it's possible that your website theme uses a different address for the main content. Here's how you can find the right address:
- Open one of your blog posts or pages in a web browser.
- Right-click on a paragraph of your main content and select "Inspect" or "Inspect Element". This will open a panel (usually at the bottom or to the side of the browser window) that shows the underlying code of your website.
- In the panel, you'll see that the paragraph you clicked on is highlighted. Just above it in the code, look for a line that begins with <div class= or <section class=.
- Inside the quotes following class=, you'll see the CSS selector(s) that your theme uses for the main content. It might look something like blog-post, main-content, or post-body.
- Add these selectors to the Content Selectors in Postology.
By accurately specifying your content selectors, you can ensure that Postology is creating summaries from the correct content. This will improve the accuracy of your summaries and make your website's summaries more helpful for your readers.