API key from OCMLabs Content Bridge for Magento plugin
connection/timeout
text
10
HTTP request timeout in seconds
Blog Settings Group
Config Path
Type
Default
Description
blog/base_url
text
blog
URL path prefix for blog pages
blog/posts_per_page
text
10
Posts per listing page
blog/default_image
image
(none)
Default featured image when post has none
blog/enable_comments
select
0
Show comment section links
blog/front_page_mode
select
posts
Blog home content: posts, page (WordPress front page only) or page_posts (front page, then posts). Since 2.1.0
Page Layout Group
Since 2.1.0. Values are Magento page layouts: 2columns-left, 2columns-right or 1column.
Config Path
Type
Default
Description
layout/list_layout
select
2columns-left
Blog home, category, tag, author and search pages
layout/post_layout
select
2columns-left
Single post pages
SEO Group
Config Path
Type
Default
Description
seo/use_wp_seo
select
1
Pull meta/OG from Yoast or RankMath
seo/blog_meta_title
text
Blog
Title tag for blog listing page
seo/blog_meta_description
textarea
(none)
Meta description for blog listing
seo/url_structure
select
post-name
URL format: post-name or category-post-name
Menus Group
Config Path
Type
Default
Description
menus/enabled
select
0
Enable WordPress menus
menus/sidebar_menu
select
(none)
Slug of the WordPress menu shown at the top of the blog sidebar. Since 2.1.0
Cache Group
Config Path
Type
Default
Description
cache/lifetime
text
1800
Post cache lifetime in seconds
cache/category_lifetime
text
86400
Category/tag cache lifetime in seconds
cache/enable_webhook
select
1
Accept webhook cache purge requests
cache/webhook_secret
obscure (encrypted)
(none)
Webhook signing secret; falls back to the API key when empty
Content Group
Config Path
Type
Default
Description
content/enable_related
select
1
Show related posts on post pages
content/related_count
text
5
Number of related posts to show
content/enable_sharing
select
1
Show social sharing links
content/enable_author_pages
select
1
Enable author archive pages
Reading Config in Code
Always access configuration through Model/Config.php. Never call ScopeConfigInterface::getValue() directly in controllers, blocks, or templates.
PHPSCROLL →
// Correct
$url = $this->config->getWordPressUrl();
// Incorrect - do not do this
$url = $this->scopeConfig->getValue('ocmlabs_wordpress/connection/wordpress_url');