Resy
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Showing current category posts in “recent posts”-block@rohitmukati I also tried it with the brackets but unfortunately that didn’t help. It’s unfortunate that it’s not possible via a php code snippet, and needs to be in the function.php file.
Since I don’t want to do that, to avoid breaking something, I will look for a work around. Maybe create templates per category or via a plug in.
So although it won’t work for me, I really appreciate the time and effort you put into this to try to help me! Have a good day ??
Forum: Developing with WordPress
In reply to: Showing current category posts in “recent posts”-block@rohitmukati I recorded a loom to show what I am doing to add it to my website. Thought this might be easier so you can see which steps I take. You can see it here: https://www.loom.com/share/a182d528838346ed98dd6f7eab29bdca?sid=c53faf70-4a2c-4ec1-90a3-3eb9c31089e8
If you still want some screenshots, please let me know.
Side note: besides adding “categoryposts” as shortcode, I also tried it with [categoryposts], wpb_postsbycategory, and [wpb_postsbycategory] – but nothing works…
Forum: Developing with WordPress
In reply to: Showing current category posts in “recent posts”-blockI indeed don’t want to add something to the function.php file since I know about the reset when updating the theme.
Instead I use the WPcode plug in and saw that you can also use that for a php snippet. However, when I copy paste the full code @rohitmukati shared in there, and add the shortcode in my block theme template, it doesn’t show anything… Do I need to change something in his code since I do add the code via the WPcode plug in?Sorry, I just try to understand it and get more familiar with this part of blogging…
Forum: Developing with WordPress
In reply to: Showing current category posts in “recent posts”-block@rohitmukati thank you for your quick reply. I really appreciate that!
Sorry, here comes the beginner question: how and where exactly should I place this?
I already tried to copy it and post it in the code via Editor > Template > Single post > Options > Code editor, but that didn’t work…
Forum: Developing with WordPress
In reply to: Query loop: showing same category as current postIs there anyone from support who can help with this?
Forum: Developing with WordPress
In reply to: Query loop: showing same category as current postIt just occurred to me that I can of course see the code via the code editor (via appearance > editor > templates > [the template in which I use the query loop]). This is it:
<!-- wp:query {"queryId":16,"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"displayLayout":{"type":"flex","columns":3},"layout":{"type":"constrained"}} --> <div class="wp-block-query"><!-- wp:post-template --> <!-- wp:post-featured-image {"isLink":true} /--> <!-- wp:post-date {"style":{"typography":{"fontSize":"11px"}}} /--> <!-- wp:post-title {"isLink":true,"style":{"spacing":{"margin":{"top":"0px","right":"0px","bottom":"0px","left":"0px"}}}} /--> <!-- /wp:post-template --></div> <!-- /wp:query --></div>
Forum: Developing with WordPress
In reply to: Query loop: showing same category as current postThanks for the quick reply!
I don’t use a code, I use the native “query loop” block within FSE.
Forum: Themes and Templates
In reply to: [Spectra One] Links styles for specific sectionsYes, I indeed did. Thanks for the redirect to the right place.
Have a nice day!
Forum: Themes and Templates
In reply to: [Spectra One] Links styles for specific sectionsHi @mohsinbsf thanks for your reply. I indeed know how to change the header so tried it that way multiple times before I submitted this ticket, but unfortunately that doesn’t work… I can change the letter case (which I did), but not the size or appearance… For me this is especially strange, since I didn’t set the color on black – this is automatically done – which doesn’t allign with the link style… But I will reach out to support, hopefully they can help me with both issues.
Forum: Themes and Templates
In reply to: [Spectra One] Links styles for specific sectionsIs there someone who can help with this please?
Forum: Developing with WordPress
In reply to: Change hover color of ‘post comment”-buttonThanks for the quick reply @niyaswp, really appreciated – it worked!
Forum: Themes and Templates
In reply to: [Spectra One] Color search bar buttonHi @judith0
I just now saw your addition about the plugin. This indeed works for the search bar, but not for the button to leave a comment “post comment”. I’ve tried with the css code in the page layout, but it doesn’t work. Do you have any other suggestions for this to adjust the hover color for the comment section?
Forum: Themes and Templates
In reply to: [Spectra One] Color search bar buttonThank you for your response Judith! In this way it worked indeed. Hopefully in the future this will become a standard feature you can change.