Show Title/Date/Excerpt of first post & only Title for rest in Query [duplicate]

In your loop, you can use a variable to check, in this case $i, so the code will belong to: <?php $the_query = new WP_Query( ‘showposts=7&cat=113’ ); ?> <?php while ($the_query->have_posts()) : $the_query->the_post(); ?> <strong><a href=”https://wordpress.stackexchange.com/questions/199653/<?php the_permalink() ?>”><?php the_title(); ?></a></strong> <hr size=”1″ color=”#919191″> <?php endwhile;?> <?php $the_query = new WP_Query( ‘showposts=7&cat=113’ ); ?> <?php $i … Read more

Fix issue with displaced braces( )

This is a problem caused by switching a site from LTR to RTL and vice-versa. I’ve tested it as well, here is my output if I switch my site to RTL <?php echo “I am (developer)”; ?> renders (I am (developer This is normal behavior when you switch to a RTL language. The problem is, … Read more

How to display html code normally?

You have in the main editor, 2 modes: visual tab Text tab I think you have published your post (or page) under “Text” mode. What you have to do is to cut all the html code in “Text” mode tab. Then you have to set the editor in “Visual” mode tab, and to paste your … Read more

Removing Author name

First you need to have a child theme. Add this to your style.css of your child theme .entry-meta .byline { display: none; } This should remove only the author from the post. Here’s a bit more information on customizing twenty fourteen theme in wordpress: http://techdwarf.com/customize-twenty-fourteen-theme-wordpress

Add HTML to Page Content

Indeed! It’s a filter called ‘the_content’, to which numerous other functions are hooked such as the one that turns WordPress into WordPress, oembeds, and the p tag wrapping echo apply_filter(‘the_content’,$data->the_content);