• Hi again,

    you’ve helped me a lot configuring my very simple family blog and I have found a few additional tips to refine the design.
    I am almost done but I’d like to simplify one more aspect. Unfortunately I cannot provide a link to the page I need help with as it’s behind login and only accessible to registered “Author”.

    The last bit of simplification I am aiming for is the total removal of the Text input area for an author to give a title to his new post (class edit-post-visual-editor__post-title-wrapper).
    I have found how to not display the title or the category (as I don’t have any) in post listing display page or in Archive/Category post listing display page.
    I have found how to prevent Authors to add any block to their posts using “Disable Blocks” plugin
    But since I expect a post to be limited to a photo with a Caption text below, I’d like to remove the “input title here” entire “block”

    I have searched the web intensively and even found a feature request to make title optional but I have not found any working solution.
    I have found a code snippet like: add_filter( ‘generate_show_title’, ‘__return_false’ );
    but contrary to simple CSS addition I’ve used, it does not work even in a simple plugin created with Pluginception.

    If it is problematic to completely remove the “title” attribute of a post because of it’s handling later on in the admin or dashboard, I would prefer it is auto-generated using something like the Author username concatenated with the creation datetime instead of offering the possibility for the Author to input anything.

    Should I go all the way defining a child theme overriding post-new.php or there is a less overkill solution.

    Regards
    STephane

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @stabary06,

    We are glad that we could help you.

    We understand that you can not provide us a link to your page but could you please provide us a screenshot of that area which you want to remove so that we can be more clear about it?

    Regards,
    ThemeGrill Support Team

    Thread Starter stabary06

    (@stabary06)

    Thanks for the proposal.
    Let me try

    Here is how the family blog look like
    Screenshot-2021-02-15-091336
    As stated before:
    – Author Avatar, Author name, post link using the date, number of comments and potentially “edit” if it’s your post
    – One picture – which I’d love to preconstrain in size (1 for landscape, 1 for portrait)
    – One Caption text – no size constraint
    – Facebook like reaction counts

    So based on this, I am trying, if not too complicated, to simplify the “post-new” page:
    Screenshot-2021-02-15-090919
    – I want to remove the “Saisissez le Titre” text input box
    – I would love to remove the add block capability (although I have already limited it to image and text)
    – Potentially make it clearer you can enter a caption
    – limit or simplify the “post/block” settings right side widget

    But as we say in French “The Best is the Good worst Enemy” so with your initial support and the few things I’ve managed to pick here and there, I am ready to publish.

    Regards
    STephane

    Hello @stabary06 ,

    We understand the option that you are looking for but unfortunately, it is not possible as the block is a built-in feature of WordPress. Regarding the auto-generation of author username/name in place of the title in the input box, there might be some plugins that could help you as such features are not provided by themes.

    An example for such plugin is “Simple Author Box”. You can download it from here and give it a try or you can look out for other similar plugins as per your requirement as well. Please write us back if you need any further help.

    Regards,
    ThemeGrill Support Team

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove edit-post-visual-editor__post-title-wrapper’ is closed to new replies.