pradg
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to Edit a Blank page templateI have no problem in assigning templates. Issue is that it seems templates are not editable. Let’s say I have a website about smartphones. I wnt to create a Brand page for each manufacturer like Samsung, Apple, Nokia etc. So my initial thought was to create 1 template which would have the title at the top, a featured image below that (where I would put the logo of the brand), a query loop which fetches all the posts associated with that brand. But if i create such a template, then none of the above except the title and Featured Image are editable when i create a page and use that template.
i then tried adding the query loop as a pattern but even that is not possible. So basically it looks like I will have to create a separate template for each brand even though the design is the same, which sort of defeats the purpose of a template.
or is there a way I can create 1 template for “brands” and then create multiple pages, one each for a brand and use this template and still be able to edit the parts I want like the Query Loop?thanks.
- This reply was modified 1 year, 3 months ago by pradg.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Five] Using twenty twenty five for long term sitethanks. THis helps a lot.
So if i design the site as I want, which I can using the currently available tools, I believe I can continue using the 2025 theme for a long term and updating WP, php and plugins.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Five] Using twenty twenty five for long term siteThank you. and if I use a theme like Ollie/SpectraOne, they can update all aspects of the theme so new theme features will be available?
and if I use a default theme, any new theme features will not get updated. Is there a way to seamlessly update my site from one default theme to another (let’s say from 2025 to 2026) and keep all designs I have made in 2025 intact and carry forward the same designs? or if I update to the next default theme, will I have to re-design the entire site?
Forum: Themes and Templates
In reply to: [Twenty Twenty-Five] Using twenty twenty five for long term siteA follow-up question on this. When you say if a new theme feature that requires a later version of WP will not be added, what does this mean? COuld you pls elaborate if you can spare some time?
For example, WP 6.8 comes with a feature like Speculative Loading. So if I use a default theme, will I not get this when I update to the latest version of WP? What am I missing?
Thanks.
Forum: Fixing WordPress
In reply to: Unable to upload fonts to WordPressI was building my site on 2025 theme and these options were there when I started (looks like I didn’t mention that before).
just realised it was broken browser cache. Such a rookie mistake (I am new to website building). Unnecessary panic. 😃 Well a lesson learnt to have my WP admin console open in a browser different than the one i use to browse the web and flush the cache.
Thank you. Hopefully this is implemented soon.
Hi,
Can this be incorporated?
Let’s say I have ACF fields for smartwatches which are “Model”, “Brand”, “Year”. I want to list all the models from a particular brand on a page for that specific brand. So I want to use the Model and Year fields in the Query Loop so that all the models under that Brand can be shown in order by date. Problem with this is that these fields which your plugin is pulling in don’t link to that post they belong to. so it will just be a list. For example if my post is titled “Samsung Galaxy Smartwatch M1” and Model is “Galaxy Smartwatch M1” and Year is “2025” and Brand is “Samsung”. I can use the post title and make that link to the post but that would mean that all the posts would start with Samsung which will look something like below which with a lot of entries wouldn’t look good to me.
Samsung Galaxy Smartwatch M1 2025
Samsung Galaxy Samrtwatch A2 2025
Samsung Neo Smartwatch G6 2023If I use your block to pull in the field values, I can present this data much more cleanly like below but I can’t make the entries link to the post. If linking to the post is made available, then it would help a lot. So I can only list the Model names and the Year, and the user can click on the Model name which will take them to the post.
Galaxy Smartwatch M1 2025
Galaxy Samrtwatch A2 2025
Neo Smartwatch G6 2023Hopefully you keep this updated. Among all the other plugins I tried to pull in ACF data, yours was the most simple and easy one. Keep it up.
Thanks.
Forum: Fixing WordPress
In reply to: How to remove Query ID from a page URLHi @bghatak
To check if what i wanted would work, I created a CPT (name it anything). I created this primarily to have different post types for different needs, but you can do this with default post type as well. I created fields like “Product Name”, “price”, “year of manufacture” and “Company” in ACF. Entered multiple entries for different product names for each Company.
Sample
“Product Name” “Company” “Price” “Year of Manufacture”
Galaxy S25 Samsung 1000 2026
iphone Apple 1000 2025
and so on…Created a new page. added the Advanced Query Block using which i wanted to display the Product Name and their Year of Manufacture.
List ViewAdvanced Query Block
Used a block called “Blocks for ACF Fields” to pull in ACF fields and display on the front end. Ignore the “Trim Title Block”, it was a block variation i created. I used two Blocks for ACF fields to fetch both Product and Year of Manufacture.
So I am getting the Product Name and its Year of Manufacture displayed on the front end. And pagination results in the query id and page number displayed in the URL.- This reply was modified 1 year, 4 months ago by pradg.
Forum: Fixing WordPress
In reply to: How to remove Query ID from a page URLHi @bghatak
You’re correct in that if we keep the default option for Query Loop, the URL doesn’t have the IDs. But this si quite limiting as one has to adhere to the default options and any customization, even just to show more than 10 results doesn’t work. But I guess that’s the current implementation by he developers.
However, i do have pages(s) where I am listing posts of a certain kind and the template I have created has to have a custom query loop (using Advanced Query Loop plugin as it has options to work with meta fields) and the pagination of that page has the query ID in it. I can be ok with the Archive or Search results page using the Default Query Loop setting but on these custom Pages, I have to use a Custom Query Loop to fetch the intended posts. So on Archive or Search Results page, pagination will be “clean” but not on the custom page i created.
And from my research, I found not indexing such pages (archive, search results, listing pages) to be the best way. So other than not looking good to the user (not sure how many non-tech users even bother looking at the URL format) and with these pages not being indexed, does it matter what the format is?
Thanks.
- This reply was modified 1 year, 4 months ago by pradg.
Forum: Fixing WordPress
In reply to: Does query ID in URL hurt SEO?to add to the above, should I let google index Archive pages on my site? I don’t see the point as these will keep changing as I add more posts.
From my limited knowledge on SEO basics, I assume indexing individual posts or CPT is mandatory but archive pages, search results need not be. I am not building an ecommerce store.
Forum: Fixing WordPress
In reply to: How to remove Query ID from a page URLI tried with enabling the “Archive” setting on the CPT and it redirects me to the latest-news page with the Archive template and it carries the /page/2 format. But I can only use the Default setting of the Query loop on the Archive Page design. If i use Custom to even make a basic change such as show more than 10 posts, WP automatically adds the query ID in the URL. https://github.com/WordPress/gutenberg/issues/32531
So I am either stuck to showing just 10 posts per page and keep the pretty pagination or show more than 10 posts with more custom settings and lose the pretty pagination. Is there a way I can hard code the number of posts to be shown in the Archive page template?
Thanks.
Forum: Fixing WordPress
In reply to: How to remove Query ID from a page URLHi @bghatak
Although “News” is setup as a CPT (using ACF), the Latest News page where all the News posts are getting fetched via a Query Loop is a static page.
I enabled the “Archive” setting under the URLs section for the Custom Post type and gave it a slug “latest-news” in ACF. Not sure how I can use a custom Archive Page to display the latest news posts. But that has it’s own challenges that the default Archive template in FSE doesn’t let any customization in the query loop. I have to use the default option. see this
https://wordpress.org/support/topic/search-results-dont-work-when-query-loop-is-set-to-custom/
https://github.com/WordPress/gutenberg/issues/69830
I am a noob to WP so somethig’s might go above my head. I am trying to replicate the layout of the techcrunch.com site where on the Home Page there is a “Latest News” section which links to a Latest News page. This Latest News Page then has pagination but on their website it follows the /page/2 format. Not sure how to get that working on my FSE theme (Twenty Twenty Five).
Currently trying out all this in a Local hosting of WP. Wanted to get the design/layout right before replicating on main site so unfortunately I won’t be able to share a link to the site.
Thanks
Forum: Plugins
In reply to: [Advanced Query Loop] Meta Query help needed (ACF)Figured it out.
Here’s what I did in case someone is looking for a similar solution.
- Create custom fields “Model Name”, “Manufacturer”, “Year of manufacture”.
- Install a plugin called “Blocks for ACF Fields” which pulls/displays the ACF field values. super plugin.
- Add two instances of the Blocks for ACF Fields inside the query loop. Set the first to fetch the Model Name and second to fetch the Year of Manufacture. I didn’t bother with the Post Title and added the same info in the Model Name custom field.
- Within AQL settings, add 2 Meta Queries. One in which you put the “Year of Manufacture” as the Meta Key and second in which you put the Manufacturer as the Meta Key and “Samsung” as the Meta Value. You can have any entry in the manufacturer (Apple, Samsung, Vivo, LG etc) and when you input that as the Meta Key, it’ll pull all the entries associated with that Manufacturer.
- Post Order By “Meta Value Num”.
Amazing plugin Advanced Query Loop.
Thanks.
Forum: Plugins
In reply to: [Advanced Query Loop] Meta Query help needed (ACF)Also how does one even output a ACF field in a query block?