remove/hide wp-editor

I believe the helper you’re looking for (assuming we’re not dealing with a custom post type) is: <?php remove_post_type_support(‘page’, ‘editor’); ?> When dealing with a custom post type you can exclude ‘editor’ from the ‘supports’ parameter to initialize the post type without the editor window. Finally, if you are trying to disable the editor only … Read more

How to not load stylesheet and how to load a second stylesheet on a page

There are a few ways to do this depending on your preferred approach and the current theme you are working in. The “WordPress Way” would be to enqueue the new style sheet in functions.php using wp_enqueue_style() https://codex.wordpress.org/Function_Reference/wp_enqueue_style You can remove the reference to the original stylesheet by deleting the reference to it in your existing … Read more

Cannot change hover color for links [closed]

You can avoid all this redundancy if you analyze carefully and see where the error is originating. Chrome developer tools or Firefox is great to help you debugging. You are actually trying to style the link, but the link has a span inside of it, each with its own class. A quick and dirty solution … Read more

Long post titles don’t move to next line

The issue is due to addition of following line in your child theme. There should be some line height to show header properly. .entry-header .entry-title { font-size: 1.6000rem; /* was 1.42857rem; */ font-weight: normal; line-height: 0; /* changed from 1.2 */ }

Link to page with posts of specific type

First, never use query_posts, use WP_Query to create additional queries. When you register your post type, set has_archive to true, or a string which will be the URL slug for your post type archive. You can then use get_post_type_archive_link() to output the URL to your post type archive. <a href=”https://wordpress.stackexchange.com/questions/210453/<?php echo get_post_type_archive_link(“issues’ ); ?>”><li>View All</li></a>