Description and Code
The blog shortcode allows you to pull in blog posts and display them in a number of styles. Here's an example of the shortcode in code view:
[blog_component layout="1-column" number_posts="1" cat_slug="" exclude_cats="" show_title="yes" title_link="yes" thumbnail="yes" excerpt="yes" excerpt_length="35" strip_html="yes" meta_all="yes" meta_author="yes" meta_date="yes" meta_comments="yes" meta_categories="yes" meta_tags="yes" meta_link="yes" pagination="yes" scrolling="pagination" class="" id=""][/blog_component]
Parameters
- layout
- controls the grid layout of the blog shortcode
- Possible values - 1-column, 2-column or 3-column
- number_posts
- controls how many posts to display in the blog shortcode
- Possible values - number - like 5, 10, 20, etc.
- cat_slug
- defines the categories to include in the output
- Possible values - array - like category 1, category 2 etc.
- exclude_cats
- defines the categories to exclude in the output, cat_slug value must be defined
- Possible values - array - like category 1, category 2 etc.
- show_title
- defines if display the blog post titles
- Possible values - yes or no
- title_link
- defines if the blog post titles will link to the single post
- Possible values - yes or no
- thumbnail
- enables/disables the featured images in the blog posts
- Possible values - yes or no
- excerpt
- enables/disables the excerpt of blog posts
- Possible values - yes or no
- excerpt_length
- defines the post excerpt maximum words/characters number
- Possible values - number - like 5, 10, 20, etc.
- strip_html
- enables/disables the HTML stripping in excerpts
- Possible values - yes or no
- meta_all
- controls visibility of the post meta datas
- Possible values - yes or no
- meta_author
- enables/disables the post author in meta
- Possible values - yes or no
- meta_date
- enables/disables the post date in meta
- Possible values - yes or no
- meta_comments
- enables/disables the post comments in meta
- Possible values - yes or no
- meta_categories
- enables/disables the post categories in meta
- Possible values - yes or no
- meta_tags
- enables/disables the post tags in meta
- Possible values - yes or no
- meta_link
- enables/disables the Read More button in meta
- Possible values - yes or no
- pagination
- enables/disables the blog posts pagination
- Possible values - yes or no
- scrolling
- defines the style of the blog pagination
- Possible values - pagination, number_pagination or infinite
- class
- custom class for CSS of component
- Possible values - string - like custom-element-class
- id
- custom ID for CSS of component
- Possible values - string - like custom-element-id
Examples
1 Column
How Open Banking Transforms Gaming Account Funding with Instant and Secure Payment Solutions
The digital gaming industry is experiencing a financial transformation, powered by cutting-edge fintech solutions that prioritize speed, security, and user convenience. online casinos represent a cutting-edge solution that removes traditional banking intermediaries, allowing players [...]
Indicators That Expose You’re Gambling at a Fraudulent Gaming Site
The digital gaming industry keeps g [...]
Comprehending Offshore Casino Operators That Operate Outside UKGC Regulatory Control
The digital gaming landscape has evolved significantly, with new casinos not on Gamstop offering distinct opportunities and considerations for players looking for options beyond traditional licensed platforms. These operators function independently of UK Gambling [...]
2 Columns
Learning about the GamStop self-exclusion system Operates for UK gamblers
For British gamblers seeking to regain control over their betting habits, understanding the sites not on GamStop is essential. This self-exclusion program allows individuals to voluntarily ban themselves from all licensed UK gaming providers [...]
How Gaming Developers Design Slots That Get Gamers Returning
The realm of internet-based slot ti [...]
3 Columns