Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1258936

    There is any way to make pages have the same layout as the native blog post?
    I just want to show the big preview and the default title on pages that arent using adv layout builder.
    Its possible?

    Best

    • This topic was modified 4 years, 1 month ago by emanar.
    #1258960

    Hey Rafael,

    Why not use the classic editor then?

    Best regards,
    Victoria

    #1258961

    hello, i’m using the classic editor.
    But the page template doesn’t give me the option to show the preview image or the title.
    I sent in private 1 example of the post and 1 of the page. As you can see the first image and title on page, are placed in the classic editor. And in the post it automatically pulling the data from the post.

    I would like the page template to behave like the post template.
    tks

    #1259417

    I just find out that i was hiden the preview image.
    So now i need to add the title on the pages.
    I found this code that does the job, but adds after the preview image. I would like to add before it.
    it’s possible?

    / **
    * add title to non-home pages
    * /

    function my_the_content_filter ($ content) {
    if (is_page () &&! is_front_page ())
    {
    $ content = ‘<h1>’ .get_the_title (). ‘</h1>’. $ content;
    }
    return $ content;
    }
    add_filter (‘the_content’, ‘my_the_content_filter’);

    best

    #1259421

    I found a way to achieve what I want:
    https://kriesi.at/support/topic/move-page-title-out-of-band-out-of-the-header-and-into-the-content-area/#post-436221

    is it possible to make this modification directly in function.php?

    Best

    #1259659

    Hi emanar,

    If you use the Classic editor for the posts you get all that, pages are not meant to function like posts and so they do not look the same. Why do yo uneed them to be the same?

    Best regards,
    Victoria

    #1259680

    We are a news website and sometimes for SEO, we need to do a post without a category. Like domain.com/name. And to do that on WordPress the article needs to be a page. So sometimes we do post in the page area.

    #1259960

    Hi emanar,

    The image and the title can be added with the Advanced Layout Builder elements without editing files but will look a bit different.

    Best regards,
    Victoria

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.