Newsmag Pro theme comes up with 11 handy shortcodes to make your theme more customized. Use these shortcodes and you can create your customized homepage with various blends of design and functionality.

Shortcodes
 

Below is the detailed explanation on how to use these shortcodes:

1. Row:

As name indicates, this shortcode is used to add row class to your page.
Attributes for Row:
1. Padding: padding for row class. Default is 0px
2. Margin: margin for row class. Default is 0px
3. Text_align: text alignment for row class. Default is center

[row][/row]

2. Column:

This shortcode is used to add column class in your page.
Attributes for Column:
1. lg(column size for large screen)
2. md(column size for medium screen)
3. sm(column size for small screen)
4. xs(column size for extra small screen)

[col lg="12" md="12" sm="12" xs="12"][/col]

3. Header Block:

This shortcode is used to add the header part that is displayed in the homepage templates with different combinations of functionality.
Attributes for Header Block:
1. Main Block Content: Select the articles that you want to display in slider.
2. Block Style: Allows you to select one from 2 pre-defined styles.

[headerblock slider="latestarticle" style="style1" ][/headerblock]

Header Block
 

4. Master Category Article:

This shortcode is used to add the master category articles for current issue in 9 different styles.
Attributes for Master Category Article:
1. Title: Allows you to provide custom title for the block
2. Block Style: Allows you to select one from 6 pre-defined styles.

[mastercat-article style="style1" ][/mastercat-article]

5. All Category Latest Article:

This shortcode is used to add the all category latest articles for current issue in 3 different styles.
Attributes for All Category Latest Article:
1. Title: Allows you to provide custom title for the block
2. Block Style: Allows you to select one from 2 pre-defined styles.

[all-category-latest-article style="style1" ][/all-category-latest-article]

6. Editor Pick Article:

This shortcode is used to add the Editor Pick articles for current issue in 5 different styles.
Attributes for Editor Pick Article:
1. Title: You can add title for the block
2. Block Style: Allows you to select one from 6 pre-defined styles.

[editor-pick editor_pick_title="Editor's Pick " style="style1" ][/editor-pick]

7. Featured Article:

This shortcode is used to add the Featured articles for current issue in 5 different styles.
Attributes for Featured Article:
1. Title: You can add title for the block
2. Block Style: Allows you to select one from 6 pre-defined styles.

[featured-article featured_title="Featured Article " style="style1" ][/featured-article]

8. Best Reviewed Article:

This shortcode is used to add the Best Reviewed articles for current issue in 9 different styles.
Attributes for Best Reviewed Article:
1. Title: You can add title for the block
2. Block Style: Allows you to select one from 6 pre-defined styles.

[best-reviewed best_reviewed_title="Best Reviewed" style="style1" ][/best-reviewed]

9. Most Liked Article:

This shortcode is used to add the Most Liked articles for current issue in 9 different styles.
Attributes for Most Liked Article:
1. Title: You can add title for the block
2. Block Style: Allows you to select one from 6 pre-defined styles.

[most-liked most_liked_title="Most Liked " style="style1" ][/most-liked]

10. Most Viewed Article:

This shortcode is used to add the Most Viewed articles for current issue in 9 different styles.
Attributes for Most Viewed Article:
1. Title: You can add title for the block
2. Block Style: Allows you to select one from 6 pre-defined styles.

[most-viewed most_viewed_title="Most Viewed " style="style1" ][/most-viewed]

11. Current Issue Latest Article:

This shortcode is used to display the latest articles for the current issue. It has 6 different styles
Attributes for Most Viewed Article:
1. Title: You can add title for the block
2. Block Style: Allows you to select one from 6 pre-defined styles.

[current-issue-latest current_issue_latest_title="Lstest articles" style="style1" ][/current-issue-latest]

The below image shows 5 different block styles.

style
 

Note:

Style 5 and style 6 have two and three columns in their style respectively. The attributes for the styles are as below:
Attributes for Style 5:
1. Title for first column: You can add title for the first column.
2. Content for first column: Select the content from dropdown that you want to display in first column.
3. Title for second column: You can add title for the second column.
4. Content for second column: Select the content from dropdown that you want to display in second column.

style5
 

Attributes for Style 6:
1. Title for first column: You can add title for the first column.
2. Content for first column: Select the content from dropdown that you want to display in first column.
3. Title for second column: You can add title for the second column.
4. Content for second column: Select the content from dropdown that you want to display in second column.
5. Title for third column: You can add title for the third column.
6. Content for third column: Select the content from dropdown that you want to display in third column.

style6