Pro Display External WordPress Posts using WP REST APIThis Pro tutorial provides the steps for showing posts from any WordPress site using the WordPress REST API. For this to work, the external (or…Read more →Categories: Pro, WordPressTags: WP REST API
How to add “/post” to blog posts permalinks in WordPressHow to add /post (or any other like /blog) after the domain name in the permalink URLs of your WordPress site’s single blog posts.Read more →Categories: Free, WordPressTags: Permalinks
Pro Making a Nav Menu Item Active for Custom Post Type Single Views in WordPressConsider this scenario: CPT: project Page titled "Project" is being used to show a list/grid of all the projects rather than the CPT archive. When…Read more →Categories: Pro, WordPressTags: nav_menu_css_class
My Notes on “WordPress Tutorial: Build your first block”As someone that has recently learned some JavaScript (from here) and React (from here), here are my thoughts and notes as I follow the official…Read more →Categories: Free, WordPressTags: Block Development
How to fix fatal error after creating a new block with WordPress’ create-blockIf you are using a Mac or Linux, chances are that after running the latest create-block npm command and activating the newly created plugin, the…Read more →Categories: Free, WordPressTags: Block Development
Pro Host Post’s Term in Bricks Query LoopUpdated on 4 Mar 2025 In the BricksLabs Facebook group a user asked: Hi everyone, I’m facing a tricky situation that might have a simple…Read more →Categories: Bricks, Pro, WordPressTags: Dynamic Data
Pro Dynamic Posts Side Menu with Expandable and Collapsible Accordion Submenus in WordPressThis Pro tutorial provides the steps to show all the posts of a specified post type as menu items with accordion functionality for submenus. This…Read more →Categories: Pro, WordPressTags: Accordion, Side Menu
Checking if the current post has been published within the last x daysConditionally output an element if the current post has been published in the last x number of days.Read more →Categories: Bricks, Free, WordPressTags: Conditions
Redirecting Paginated Pages in WordPressIt is typical to have one or more custom query loops on a static Page like the site's homepage. Let's say in one of these…Read more →Categories: Free, WordPressTags: WordPress Queries
Pro How to Update Custom Fields with Default Values For Existing Posts when using ACFLet's take a scenario where there are 10 Pages in a WordPress site. You proceed to create a Text-type of custom field called, say, "Custom…Read more →Categories: Plugins, Pro, WordPressTags: ACF
Pro Adding CSS based on a PHP boolean value in WordPressIn the Bricks Facebook group a user asked: How do I display a pseudo element depending on the presence of data in an ACF field…Read more →Categories: Pro, WordPressTags: wp_add_inline_style
Pro How to Limit the Depth of Nav Menu in BricksUpdated on 31 Oct 2023 This Pro tutorial provides the steps for limiting the depth of WordPress navigation menu rendered via Bricks' Nav Menu element.…Read more →Categories: Bricks, Pro, WordPressTags: bricks/element/settings, Nav Menu