How to modify the enlightenment_the_title_args

Viewing 3 posts - 1 through 3 (of 3 total)
  • #19867
    Victor
    Participant

    I set the blog page into 4 columns, if the title is too long the whole page is not nice looking. That’s why I used short title.

    The problem followed is the title is too short and not clearly stated the content. So I used custom meta description as title attribute, it is a long sentence and clear enough.

    The code to I used: get_post_meta($post->ID, 'description', true)

    How should I do this in Enlightenment, where and how should I modify?

    Thank in advance.

    #19868
    Daniel Tara
    Keymaster

    Instead of using a short title which may be bad for SEO I suggest you truncate the title with CSS like this:

    .entry-title {
    	overflow: hidden;
    	white-space: nowrap;
    	text-overflow: ellipsis;
    }

    This will preserve the link title attribute so when visitors hover on it they will see the title.

    #19870
    Victor
    Participant

    I will give a try, thanks!

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

You must be logged in to reply to this topic.