Glen Davies
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: How to implement spacing.blockGap support in custom block?@badg0003 if that works for your use case it would be the safest approach until __experimentalLayout is stabilised.
Forum: Fixing WordPress
In reply to: Theme site headerIn
/wp-admin
have a look underAppearance -> Menus
orAppearance -> Customize
and there my be an option there to specify which items appear in this menu. Otherwise try posting this question over in the Woo Commerce Plugin support form as this header has been added by this plugin I think.Forum: Developing with WordPress
In reply to: How to use category specific templates in 6.2My apologies, the process I showed creates a Category archive page template, not a template for an individual item in a category, so it doesn’t show as selectable for a page/post, but will show when you go to a category list url, eg.
https://mysite.com/category/books/
If working from the site editor I think what you actually need to do is add a new custom template for each category as below:
I couldn’t see a way to automatically assign a template to a category via the editor, but it is not any area I am overly familiar with. ?? someone else has some ideas.
Forum: Everything else WordPress
In reply to: Two category/subcategory in permalinksIt may be possible using some of the permalink related filters, but that is not something I have used so can’t be much more help sorry.??someone else has some ideas.
Forum: Everything else WordPress
In reply to: disable sticky headerIt looks like this might be the recommendations bar related to the Shareaholic plugin, so it could be worth asking this question in their support forum.
Is there a way to output on the screen all Class Names from $block[‘attrs’][‘className’] via php?
Are you just wanting to output it to the screen for debugging? If so you should be able to use
echo var_dump( $block[‘attrs’][‘className’] );
Forum: Everything else WordPress
In reply to: Two category/subcategory in permalinksI don’t think this is possible in WordPress currently. The permalinks only allow for a single category with sub-categories as far as I know.
What is your reason for wanting to do this? If it is for something other than just the look of the url, eg. being able to get the categories from the url to process, then there may be other ways of achieving what you are after.- This reply was modified 1 year, 7 months ago by Glen Davies.
Forum: Everything else WordPress
In reply to: WordPress pages – layoutWhich version of WordPress are you using and which theme?
The setting up of menus can vary quite a bit depending on your current version and theme.Maybe you would be better to handle this in the gallery block by looping through its innerBlocks. The gallery block itself already does something similar here to modify image blocks that are part of a gallery block.
Forum: Fixing WordPress
In reply to: Image issue , they dont auto uploadIt is most likely that the images are being hosted on a different server, and the posts have the full link to this external server. In this case, they will display in the post but not appear in the media library. You can download them to the media library using
Upload external image
button in the image block toolbar as shown below:As far as I am aware WP does not auto upload external images by default, so the
auto-uploader
you mention is probably a 3rd party plugin, so you are probably best to ask a question on their support forum if this is not working as expected.- This reply was modified 1 year, 7 months ago by Glen Davies.
Forum: Developing with WordPress
In reply to: How to use category specific templates in 6.2I think you should be able to create templates for each category using the following steps:
Forum: Everything else WordPress
In reply to: Good contact form pluginIf you haven’t already done so, have a look here, the number of positive reviews combined with the number of active installs is a good way to get a feel for the best plugins in a particular category.
Forum: Fixing WordPress
In reply to: Database IssuesThere are some troubleshooting steps for this sort of problem here, and also lots of answers to this problem in previous posts that may be of help with resolving this.
- This reply was modified 1 year, 7 months ago by Glen Davies.
Forum: Fixing WordPress
In reply to: Button Text Color IssueIt might be that some of the theme styles are overriding your settings. If you are using Chrome and right click on the button and choose ‘Inspect’ it will open the dev tools and you should be able to see what CSS is being applied to the text:
The is a Categories List block that should display it as a list for you: