Help with layout justification
-
Hi all, my site was working fine then for some reason I have gone back to it today and noticed the formatting on some of the pages is not correct: http://www.algarvebikeholidays.com/touring-bike/ these are in tables but have lost this on these pages, any ideas why? looks very messy as is?
Any help would be great
Thanks
Admin
WordPress strips any HTML element in creating those short descriptions (otherwise known as “excerpt”). It’s probably better to create your own custom excerpt for each of those locations in the form of a proper summary of the location instead.
Thanks Syahir, how do I go about creating a summary for that location for each page?
Thanks
Hi, does anyone know how to create a summary as Syahir has suggested? Thanks.
Admin
In the Edit Page screen, click on the Screen Options on the top right, then tick the checkbox for Excerpt. There’ll be a new option on the page where you can insert your own custom excerpt.
Thanks, just had a look and I dont have the ‘Excerpt’ option showing to check?
Mod
Excerpts for pages are not enabled by default in WordPress.
Try adding this to your child theme’s functions file:
<?php
add_action('init', 'my_custom_init');
function my_custom_init() {
add_post_type_support( 'page', 'excerpt' );
}
?>Change “my_custom_init” to something unique that won’t interfere with anything else in your functions file.
Thanks Kenneth, what should I change “my_custom_init” to? sorry dont understand?
Thanks.
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.