Help with layout justification

  • dbphoto1981


    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: these are in tables but have lost this on these pages, any ideas why? looks very messy as is?

    Any help would be great



    Syahir Hakim


    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?




    Hi, does anyone know how to create a summary as Syahir has suggested? Thanks.


    Syahir Hakim


    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?


    Kenneth John Odle


    Excerpts for pages are not enabled by default in WordPress.

    Try adding this to your child theme’s functions file:

    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?


Viewing 8 posts - 1 through 8 (of 8 total)

  • You must be logged in to reply to this topic.