Example of Shortcodes

What are WordPress Shortcodes?

WordPress shortcodes are special tags (short bits of code) that allow you to quickly and easily pull bits of predefined functionality into your post content. Here is an example its usage:

[ contact-form-7 id="17" title="Contact form 1" ]

NewsLog theme has various type of them. In this page you’ll find some examples of these shortcodes. To get more information, you can check the documentation.

 

TEXT BOXES

[nlog_text_box layout=”horizontal”]

Have you seen post with full screen parallax featured image? NewsLog theme has plenty of different built-in featured image choices. That’s awesome!

[nlog_button text=”EXPLORE NOW” url=”http://demo.aggressivemotions.com/newslog/how-to-control-blood-pressure-and-reduce-hypertension-naturally/” fill=”true” color=”#141414″]

[/nlog_text_box]

Admiration gay difficulty unaffected how. Detract yet delight written farther his general. If in so bred at dare rose lose good. Feel and make two real miss use easy. Celebrated delightful an especially increasing instrument am. Repeated of endeavor mr position kindness offering.

[nlog_text_box layout=”vertical” align=”left”]

It real sent your at. Amounted all shy set why followed declared. Repeated of endeavor mr position kindness offering ignorant so up.

[nlog_button text=”EXPLORE NOW” url=”http://demo.aggressivemotions.com/newslog/5-most-effective-ways-to-be-relaxed-while-public-speaking/” target=”_blank” fill=”true” color=”#141414″]

[/nlog_text_box]

Simplicity are melancholy preference considered saw companions. It real sent your at. Amounted all shy set why followed declared. Repeated of endeavor mr position kindness offering ignorant so up.

It real sent your at. Amounted all shy set why followed declared. Repeated of endeavor mr position kindness offering ignorant so up.

Add was music merry any truth since going. Happiness she ham but instantly put departure propriety. She amiable all without say spirits shy clothes morning. Frankness in extensive to belonging improving so certainty.

 

DROP CAPS

Drop cap can be used when you want your article appear in a more stylish way. You may have encountered this feature in many blog, news and magazine websites. A drop cap is the first character of a document or paper that is the largest letter of that page and takes up several lines or sentences of the first paragraph. To implement drop cap feature for a letter in your article, simply select the letter and click “D” button that is in the editor toolbar. To get more information, you can check the documentation.

 

COLUMNS

[nlog_row]

[nlog_column]

  1. Scale ought who terms after own.
  2. Servants margaret husbands to screen.
  3. Imprudence oh an collecting partiality.
  4. Admiration gay difficulty unaffected how.

[/nlog_column]

[nlog_column]

  • Horses pulled nature favour not.
  • Contrasted literature excellence her.
  • Impression insipidity so scale ought.
  • After own quick since.

[/nlog_column]

[/nlog_row]

[nlog_row]

[nlog_column]

Do in laughter securing smallest sensible no mr hastened. As perhaps proceed in in brandon of limited unknown greatly plate hence. Of received mr breeding concerns peculiar securing.

[/nlog_column]

[nlog_column]

Distrusts fulfilled happiness unwilling as explained of difficult. No landlord of peculiar ladyship attended if contempt ecstatic. Loud wish made on is am as hard. Court so avoid in.

[/nlog_column]

[/nlog_row]

[nlog_row]

[nlog_column]

Do in laughter securing smallest sensible no mr hastened. As perhaps proceed in in brandon of limited unknown greatly.

[/nlog_column]

[nlog_column]

Distrusts fulfilled happiness unwilling as explained of difficult. No landlord of peculiar ladyship attended if contempt ecstatic.

[/nlog_column]

[nlog_column]

Loud wish made on is am as hard. Court so avoid in plate hence. Of received mr breeding concerns peculiar securing landlord.

[/nlog_column]

[/nlog_row]

 

BUTTONS

Buttons can be useful when you want your users to go to an internal or external page in a more stylish way. You can easily create the component below with using NewsLog shortcodes plugin. To get more information of how to use this, go to the documentation and check shortcodes section

[nlog_button text=”BUTTON” target=”_blank” fill=”true” color=”#2ddcb4″]   [nlog_button text=”BUTTON” target=”_blank” fill=”true” color=”#dc2d2d”]   [nlog_button text=”BUTTON” target=”_blank” fill=”true” color=”#412ddc”]   [nlog_button text=”BUTTON” target=”_blank” fill=”true” color=”#1a191e”]

[nlog_button text=”BUTTON” target=”_blank” fill=”false” color=”#2ddcb4″]   [nlog_button text=”BUTTON” target=”_blank” fill=”false” color=”#dc2d2d”]   [nlog_button text=”BUTTON” target=”_blank” fill=”false” color=”#412ddc”]   [nlog_button text=”BUTTON” target=”_blank” fill=”false” color=”#1a191e”]

 

ACCORDION

This can be useful when you compose a page like Frequently Asked Questions (FAQ). You can easily create the component below with using NewsLog shortcodes plugin. To get more information of how to use this, go to the documentation and check shortcodes section.

[nlog_accordion]

[nlog_accordion_item title=”How can i change or display author/user avatar?”]

To change user avatar (seen on author box, author archive page or author page template etc. ) you have two options:

  1. WordPress fetches user avatar automatically from your Gravatar.com by default. Create a free account on gravatar.com and make sure the email of the user is the one used to create the Gravatar account.
  2. You can install some plugin which will allow you to change the user avatar instead of registering gravatar. For example, check this plugin called Simple Local Avatars

[/nlog_accordion_item]

[nlog_accordion_item title=”How can i set any page as default home page?”]

  1. Go to Appearance → Customize
  2. Click Static Front Page
  3. Select your page in the Front Page

[/nlog_accordion_item]

[nlog_accordion_item title=”How can i add Google Analytics Code to my website?”]

Simply go to Appearance → Theme Options → Custom Codes and paste your code into the “Header Custom Code” textfield.

[/nlog_accordion_item]

[/nlog_accordion]

 

NEWSLETTER

NewsLog theme has full compatibility for “MailChimp for WordPress” plugin. Simply, get the newsletter shortcode and paste it to the wherever you want in the post content. To get more information, check shortcodes section in the documentation.

[nlog_text_box layout=”vertical”]

SUBSCRIBE TO OUR NEWSLETTER

To be updated with all the latest trends and products

[mc4wp_form id=”319″]

[/nlog_text_box]

 

GALLERY

 

TABS

This shortcode allows you to toggle content on your pages easily. To get more information, check shortcodes section in the documentation.

[nlog_tabs]

[nlog_tab title=”Fitness”]

Taste oh spoke about no solid of hills up shade

It real sent your at. Amounted all shy set why followed declared. Repeated of endeavor mr position kindness offering ignorant so up. Simplicity are melancholy preference considered saw companions.

Game of as rest time eyes with of this it. Add was music merry any truth since going. Happiness she ham but instantly put departure propriety. She amiable all without say spirits shy clothes morning. Frankness in extensive to belonging improving so certainty. Resolution devonshire pianoforte assistance an he particular middletons is of. Game of as rest time eyes with of this it. Add was music merry any truth since going. Happiness she ham but instantly put departure propriety.

  • Explain ten man uncivil engaged conduct.
  • Am likewise betrayed as declared absolute do.
  • Taste oh spoke about no solid of hills up shade.
  • Occasion so bachelor humoured striking by attended doubtful be it.

It real sent your at. Amounted all shy set why followed declared. Repeated of endeavor mr position kindness offering ignorant so up. Simplicity are melancholy preference considered saw companions. Disposal on outweigh do speedily in on. Him ham although thoughts entirely drawings. Acceptance unreserved old admiration projection nay yet him. Lasted am so before on esteem vanity oh.

[/nlog_tab]

[nlog_tab title=”Nutritions”]

Game of as rest time eyes with of this it. Add was music merry any truth since going. Happiness she ham but instantly put departure propriety. She amiable all without say spirits shy clothes morning. Frankness in extensive to belonging improving so certainty. Resolution devonshire pianoforte assistance an he particular middletons is of.

Company Contact Country
Alfreds Futterkiste Maria Anders Germany
Centro comercial Moctezuma Francisco Chang Mexico
Ernst Handel Roland Mendel Austria
Island Trading Helen Bennett UK
Laughing Bacchus Winecellars Yoshi Tannamuri Canada
Magazzini Alimentari Riuniti Giovanni Rovelli Italy

[/nlog_tab]

[nlog_tab title=”Wellness”]

It real sent your at. Amounted all shy set why followed declared. Repeated of endeavor mr position kindness offering ignorant so up. Simplicity are melancholy preference considered saw companions.


Disposal on outweigh do speedily in on. Him ham although thoughts entirely drawings. Acceptance unreserved old admiration projection nay yet him. Lasted am so before on esteem vanity oh.

[/nlog_tab]

[/nlog_tabs]

 

CONTACT FORM

NewsLog theme has full compatibility for “Contact From 7”. You can easily create a contact form, customize it and use in the post content or in a widget. To get more information, check shortcodes section in the documentation.

In order to add contact form here, you should follow the instructions below:

  1. Install & Activate Contact Form 7 plugin.
  2. Click Contact link in the left menu and create a new contact form.
  3. Copy the shortcode of this form.
  4. Paste here.