Skip to main content

New answers tagged

1 vote

FSE Change Post Template to Something Other Than a List

HTML is a semantic markup language, ie it describes the structure of the data. A post archive is a list of posts, so list markup is exactly what should be used. As far as styling goes, once you ...
Chris Cox's user avatar
  • 1,643
1 vote

FSE Change Post Template to Something Other Than a List

The ul/li tags are hard-coded into the render_block_core_post_template() functíon: $content = ''; while ( $query->have_posts() ) { $query->the_post(); $block_content = ( ...
birgire's user avatar
  • 67.5k
1 vote

How to add translation for FSE theme?

Could you please cross check lexiadesign is the correct Text Domain of your FSE theme. Agter this you can use given functions for Internationalization of Strings of your theme or plugin. esc_html__() ...
Narendra Sishodiya's user avatar
1 vote

How do I access the current post object within a block theme template or pattern?

While working with the block themes and block patterns, we can access post data or metadata through given methods. By using render_callback in register_block_pattern register_block_pattern( '...
Narendra Sishodiya's user avatar
1 vote
Accepted

What is considered good practice for registering menu locations?

In my opinion your approach of registering multiple menus for different footer sections and social links is a good practice in WP theme development because it provides more flexibility and clarity to ...
Narendra Sishodiya's user avatar
0 votes

Gulp dev environment set up for Wordpress theme development

Check out WP Rig. It already does all of this.
RBizzle's user avatar
  • 61

Top 50 recent answers are included