Displaying Post Content on tooltip

The problem is that your template doesn’t have any quotes around the title attribute at all: title=<?php echo get_the_content(‘post_content’, $post->ID); ?> So the browser’s making its best guess and using the first word. So you need to add the quotes: title=”<?php echo get_the_content(‘post_content’, $post->ID); ?>” Also, if you’re outputting arbitrary content into an attribute you … Read more

Where to find HTML to post Adsense Code

Ads are most commonly displayed in the sidebar. You can add Google Adsense in your sidebar by using WordPress widgets. Simply go to Appearance » Widgets page in your WordPress admin area. Next, drag & drop the ‘Custom HTML’ widget to the appropriate widget area and paste your Google AdSense code in there.

Display html code, not the tags

You need to remove the esc_html(). The whole purpose of that function is to prevent text being interpreted as HTML. do_shortcode( wpautop( $sectionData[‘left-content’] ) );

Applying metatag to single page

You can use the WordPress conditional tags to accomplish this. Both is_page() and is_singular() should work, you just need to pass a slug, or in your case, an ID. Then we can use the wp_head hook to conditional add in the meta tag. You can add the following function and hook into your functions.php file. … Read more