Why doesn’t media(max-width) work on h2 title?

It’s being overwritten by the line at the top. You can see from the bit on the end of the filename that the your media query CSS is on line 133, but the CSS that’s overwriting it is on line 182. Because they use the same selector (.posts h2) the last one will take precedence, … Read more

Limit ONE link per post

Take it as a starting point (not tested): /** * Limit links inside the content. * * @param (string) $content * @return (string) $content */ function wpse30754_limit_content_links( $content ) { // delete all <a> tags in the post $content = preg_replace( “/<a[^>]*><\\/a[^>]*>/”, ”, $content ); return $content; } add_filter( ‘the_content’, ‘wpse30754_limit_content_links’ ); What’s not yet … Read more

How to show only text from post in WordPress

You will need to edit the wordpress theme to do this. If you know how to do this, all you need to do is replace the_content(); with this below: <?php ob_start(); the_content(‘Read the full post’,true); $postOutput = preg_replace(‘/<img[^>]+./’,”, ob_get_contents()); ob_end_clean(); echo $postOutput; ?> And all images will be removed from your posts.

melville and its child theme

According to the codex your file needs to be called childtheme/loop-home-page.php if you did just then <?php get_template_part(‘loop’ ,’home-page’) ?>you would call it loop.php not sure if that helps at all. Another thing is make sure your page is using your custom template file as this could also be your problem. What is the name … Read more