Advanced Post Block

  1. Home
  2. Docs
  3. Advanced Post Block
  4. Guides
  5. Style

Style

Select the Style tab. Then you will see bellow options.

Content

For Content, set Text Align, Background, Padding, and Border.

Advanced Post Block- Style- Content
Advanced Post Block- Style- Content

Title

From here, set the Typography, Color, and Margin of the Title.

Advanced Post Block- Style- Title
Advanced Post Block- Style- Title

Metadata

From here, set Typography, Text Color, Link Color, Icon Color, Category Colors On Image, and Margin

Advanced Post Block- Style- Metadata
Advanced Post Block- Style- Metadata

Excerpt

Set Text Align, Typography, Color, and Margin.

Advanced Post Block- Style- Excerpt
Advanced Post Block- Style- Excerpt

Read More

For Read More, set Button Align, Typography, Colors, Hover Colors, Padding, and Border.

Advanced Post Block- Style- Read More
Advanced Post Block- Style- Read More

Slider Options

You will see the Slider Options if you select Slider Layout. Set Pagination Bullets Color, Pagination Width, Hight, and Border. Also, set Preview Next Button Color.

Advanced Post Block- Style- Slider Options
Advanced Post Block- Style- Slider Options

Elements

Select the Elements tab. Then you will see bellow options.

Feature Image

For feature image show/hide Feature Image, set Size, Fitting, and enable/disable Link.

Advanced Post Block Elements- Feature Image
Advanced Post Block- Elements- Feature Image

Title

Show/Hide Title and enable/disable Link for title element.

Advanced Post Block- Elements- Title
Advanced Post Block- Elements- Title

Metadata

From here, show/hide Metadata. And change the options for metadata.

Author

Show/Hide Author metadata, enable/disable Link, and set Icon.

Date

Show/Hide Date metadata, and set Formate and Icon.

Category

Show/Hide Category metadata, set Position, if the position is in the content set Icon.

Reading Time

Show/Hide Reding Time metadata, and Reading Time in Seconds. Also, set Label and Icon.

Comment

Show/Hide Comment metadata, and set Icon.

Advanced Post Block- Elements- Metadata
Advanced Post Block- Elements- Metadata

Excerpt

From here, show/hide Excerpt, enable Excerpt from Content to show the excerpt from the content, and enable Show Ellipsis to add  at the end of the excerpt.

Also, set the Excerpt Length.

Advanced Post Block- Elements- Excerpt
Advanced Post Block- Elements- Excerpt

Read More

Show/Hide Read More button. Set Position, and Label. Enable/Disable Open link in new tab.

Advanced Post Block- Elements- Read More
Advanced Post Block- Elements- Read More

Advanced

Custom Query

You can configure the query outside of the available option using the apb_query filter.

Just add this filter anywhere and you will get the query as a parameter of the callback function. modify the query and return it.

Ex:

add_filter( 'apb_query', apbQuery() );
function apbQuery( $query ) {
    $query['lang'] = 'en';

    return $query;
}
Was this article helpful to you?

How can we help?