How does the Gutenberg mobile/tablet/desktop preview work with media queries?
I am building a block which has different layouts for mobile and desktop.
As far as I understand CSS media queries, they work when the viewport is resized.
I am building a block which has different layouts for mobile and desktop.
As far as I understand CSS media queries, they work when the viewport is resized.
I’m showing published and future posts on a category page.
I need to make future posts unclickable and add a special class to them in order to add a gray overlay, meaning the post is upcoming..
trying something like
I want to know if for a given post ID $post_id, there is a metadata key and value pair stored that matches a given key $meta_key and value $meta_value pair.
I’m about to build a new site based on a theme close to what I’m looking for. I understand the concepts around child theming & have read the caveats about overriding php or css files like the one described here.
I need to remove a specific line from the header when opening the site. How do I do this using a filter?
I’ve this in my main plugin file:
How does wordpress generate the block ID pointed out in the screen shot below?
It appears that the latest gutenberg editor supports direct links to blocks added to a post as mentioned here. How do I get the block link? I need to extract it programmatically but it’s not saved in the post’s markup as I’ve discovered.
I attached default taxonomy “category” to a “story” custom post type, when I register it:
I am unable to see the custom fields I have added in the website.