Printable Page with all Posts from Tag

I would recommend looking for a solution that would ‘print’ the relevant articles to a pdf format, which could then be printed. Search the plugins directory for terms such as ‘posts to pdf’ to find one that would allow you to print all posts in a certain category or with a certain tag.

Add a unique meta desciption

For Open Graph descriptions, use a plugin like Complete Open Graph. It’ll automatically use the content on your pages to generate the descriptions, but you can also set it globally and force it for all pages in the plugin’s settings. Super straight forward. https://wordpress.org/plugins/complete-open-graph/

Only display notification on single post

I think the solution is to check if it’s the main query. WordPress has a function for that, is_main_query() The query that you’re running in your related posts widget is a secondary query, so is_main_query() will return false. You can take advantage of that, by changing your code like this: if ( ! is_main_query() || … Read more

WordPress text field in array problem

It looks like you may be creating an array around a single long string that needs to be split up into array elements (assuming $idsposts is a string and not an array). Try using $myposts = explode(“,”, $idsposts); Instead of just adding $idsposts as the only element of your $myposts array. You can also check … Read more

count_posts to a standalone link

You can use wp_count_posts Example using code above: $count_posts = wp_count_posts(‘post’); if ( $count_posts ) { $published_posts = $count_posts->publish; } <a href=”https://wordpress.stackexchange.com/questions/250800/YOUR_LINK”>YOUR TEXT <?php echo $published_posts; ?></a>

Permalink base only for posts

To get your desired structure: Go to Settings > Permalinks in Admin. Under Common Settings, click Custom Structure and enter /blog/%postname%/ Click Save Changes button. This sets the permalink structure for posts. Pages already appear at at the root of your install, so no modification is needed for that.