Author: wpexperts

Visual Composer: Page Builder for WordPress

Visual Composer: Page Builder for WordPress

Visual Composer is Drag and Drop Frontend and Backend Page Builder Plugin for WordPress.

Page Builder for WordPress

Visual Composer for WordPress is drag and drop frontend and backend page builder plugin that will save you tons of time working on the site content. You will be able to take full control over your WordPress site, build any layout you can imagine – no programming knowledge required. Moreover, now you can choose either work on a backend or move your page building process to frontend and instantly see changes you make.

Have you ever noticed how much time you spend fighting with [shortcodes]? No more trial and errors with “shortcodes magic” – Visual Composer will take care of that.

Visual Composer is the first WordPress page builder plugin with full control over responsiveness. Now you can design responsive websites with ease – control how you whole layout or just separate parts of it behave on different devices. Set your desired size of columns and offsets or even hide specific blocks with elements on devices of your choice. Check how you content looks on mobile devices or desktop with just 1 click simple controls. You don’t have to buy bunch of expensive devices to start designing for them!

Add columns, rows and choose from 40+ predefined elements divided in logic groups with single click, by using intuitive and handy UI. Then simply use your mouse to drag elements around to re-arrange them. Or use your creativity and skills to extend Visual Composer with unique elements by using our developer API.

Visual Composer is #1 Best Selling drag and drop frontend and backend page builder with 70k+ websites already powered. Join now and create beautiful websites in shortest possible time and with minimum efforts and of course – no coding and [shortcodes].

Custom Related Posts

Custom Related Posts

  1. Go to post admin edit page.
  2. Click the Screen Options button, now checked Custom Fields

    checked-custom-fields

  3. Add mrp_related_posts to the Name field in Custom Fields meta box. Then enter the post ID, separated by commas. See how to view the post ID.

    custom-related-posts

  4. Click the Add Custom Field button.
Properly Add Styles and Scripts in WordPress

Properly Add Styles and Scripts in WordPress

At first, you should know the following hooks and functions.

Hooks

  • wp_enqueue_scripts: is the proper hook to use when enqueuing items that are meant to appear on the front end. Despite the name, it is used for enqueuing both scripts and styles.
  • wp_head: is triggered within thesection of the users template by the wp_head() function.
  • wp_footer: is triggered near the tag of the users template by the wp_footer() function.

Functions

  • wp_enqueue_style: A safe way to add/enqueue a CSS style file to the wordpress generated page.
  • wp_enqueue_script: Links a script file to the generated page at the right time according to the script dependencies
  • wp_add_inline_style: Works only if the stylesheet has already been added.

Example:

Only Show Posts that Has Featured Image

Only Show Posts that Has Featured Image

Lets query the 6 recent posts simply, use class WP_Query to create a new posts query:

It works well. But sometimes I only want to show the posts that has been set featured image. It is very easy to implement. Set meta_key parameter to WP_Query, See:

It will only display the posts that has featured image.
If you only want to show posts that has featured image in home, use pre_get_posts hook, see:

Or only in category, function wphigh_featured_image_posts() change to:

Only in specific category ID:

Powerful Social Share Buttons Plugin for WordPress

Powerful Social Share Buttons Plugin for WordPress

Easy Social Share Buttons for WordPress plugin automatically adds social share buttons to your posts, pages, products or any custom post type. Easy Social Share Buttons for WordPress supports 18 social networks, Love you button, Send to mail and Print. Easy Social Share Buttons for WordPress supports 9 native social like and subscribe buttons. Easy Social Share Buttons for WordPress comes with build-in modules for Click log analytics and Social Media Metrics.

Its an amazing plugin. It almost has all the features you want.

Purchase