The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
74 views

Display oEmbed in the_excerpt

I am currently adding add_filter('the_excerpt', array($wp_embed, 'autoembed'), 9); to my functions.php file to no avail any other suggestions would be great. Also if I add $content-width to ...
-1
votes
2answers
115 views

Change featured thumbnail based on screen size

My theme has the option( like any other theme I guess) to chose a predefined featured image size( thumbnail, medium ...etc). I chose the image to be thumbnail, made it 150x150 in media settings but my ...
1
vote
1answer
38 views

Is it possible to create a conditional for content_width?

Searching here I've found two questions related and at the time, this wasn't possible. how to create a conditional content_width for a wordpress theme? And an alternative way via CSS described by ...
0
votes
1answer
80 views

Truncate title to single line & container width

Is there a way to truncate a title to the container width? I'm able to do truncate a long title to one line using the code below, but that doesn't really work for mobile. <h3> <?php ...
0
votes
1answer
386 views

$content_width for responsive UI

In our "mobile first" age a theme without responsive UI is treated like from stone age. It means that a theme could have different content width for different devices. But one of requirements for ...