Orange Collar Media
Orange Collar Media
DOCS
ORANGECOLLAR/MODULE-WORDPRESS-INTEGRATION · CONFIGURATION REFERENCE

Configuration Reference

  • Magento
  • Adobe Commerce
  • Hyvä

All configuration paths are under the orangecollar_wordpress/ prefix in Magento’s core_config_data table.

Admin path: Stores > Configuration > Orange Collar > WordPress Integration

Connection Group

Config PathTypeDefaultDescription
connection/wordpress_urltext(none)Full URL to WordPress installation
connection/api_keyobscure (encrypted)(none)API key from OC Magento Bridge plugin
connection/timeouttext10HTTP request timeout in seconds

Blog Settings Group

Config PathTypeDefaultDescription
blog/base_urltextblogURL path prefix for blog pages
blog/posts_per_pagetext10Posts per listing page
blog/default_imageimage(none)Default featured image when post has none
blog/enable_commentsselect0Show comment section links

SEO Group

Config PathTypeDefaultDescription
seo/use_wp_seoselect0Pull meta/OG from Yoast or RankMath
seo/blog_meta_titletextBlogTitle tag for blog listing page
seo/blog_meta_descriptiontextarea(none)Meta description for blog listing
seo/url_structureselectpost-nameURL format: post-name or date-name
Config PathTypeDefaultDescription
menus/enabledselect0Enable WordPress menu fetching

Cache Group

Config PathTypeDefaultDescription
cache/lifetimetext1800Post cache lifetime in seconds
cache/category_lifetimetext86400Category/tag cache lifetime in seconds
cache/enable_webhookselect0Accept webhook cache purge requests

Content Group

Config PathTypeDefaultDescription
content/enable_relatedselect0Show related posts on post pages
content/related_counttext5Number of related posts to show
content/enable_sharingselect0Show social sharing links
content/enable_author_pagesselect0Enable author archive pages

Reading Config in Code

Always access configuration through Model/Config.php. Never call ScopeConfigInterface::getValue() directly in controllers, blocks, or templates.

PHP
// Correct
$url = $this->config->getWordPressUrl();

// Incorrect - do not do this
$url = $this->scopeConfig->getValue('orangecollar_wordpress/connection/wordpress_url');