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);

Multiple item layout with one query

As @MridulAggarwal already stated, it’s a pretty basic PHP task that you’re confronted with: $wpse69584_posts = get_posts( array( /* Your Arguments */ ) ); echo $post[0][‘post_title’]; echo isset( $post[0]->post_excerpt ) ? apply_filters( ‘the_excerpt’, $post[0]->post_excerpt ) : apply_filters( ‘the_content’, $post[0]->post_content ) ; // etc. Or if you’re using a loop, it’s even easier: global $wpdb; if … Read more

Custom formatting

That is one way to do it, and I have done that for certain technically challenges clients. It is quick and simple. It does add a query to the parent page, but that isn’t catastrophic. It would work fine if you have a few of these pages and aren’t adding or editing them a lot. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)