WordPress.org

Ready to get started?Download WordPress

Forums

Embed Posts
[Plugin: Embeded Posts] Formatting of post title (4 posts)

  1. artc1209
    Member
    Posted 3 years ago #

    When you embed a post, the Title of the child post is formatted as normal text rather than a h1 or h2 in the Parent post.

    Is there a way to control the formatting of the Title in any way?

    Art

    http://wordpress.org/extend/plugins/embed-posts/

  2. dtyler11
    Member
    Plugin Author

    Posted 3 years ago #

    Version 1.3 began using <h2> for the post title.

    In all versions, you can use CSS to add formatting to the post_title class.

  3. artc1209
    Member
    Posted 3 years ago #

    Great fix! Thank you!

    A feature request for the future: It'd be nice to be able to toggle display of the Child post Title ON or OFF... as a switch in Embed Post.

    Cheers,
    Art

  4. dtyler11
    Member
    Plugin Author

    Posted 3 years ago #

    Nice idea for a switch, but what so you think about using a most meta-field instead? For example, set a custom field called embed-hide-title to true to hide the title of the post in any parent posts? It would be a global change, so wherever that post is embedded, the title would be hidden. It might be possible to allow the same flag to be set on a parent post to hide all child post titles.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic