Skip to main content

Questions tagged [entry-query]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

Prioritising Paid Authors In Entry Queries - Craft 4

I have a Craft CMS 4 website with an entry query that's displaying results in order of priority (1, 2, 3 or 4) and sub priority (1, 2 or 3). I've assigned these numbers to the entries via entry fields....
George Bleasdale's user avatar
1 vote
1 answer

Looping through Entries that Match Criteria with Fields inside the Same Entries

I've been having trouble figuring out how to query my entries for another template. Currently, I have a channel of entries for "programs." These programs have a super table that contains a ...
Erol's user avatar
  • 65
1 vote
1 answer

Entry Query: How to load an entry with the full URL as only criterion

From PHP (Plugin), how can I load a certain entry if only the full URL is provided? I can not find Craft's logic in PHP to split the full URL into the site's baseUrl and the entry's URI. Please note ...
Matthias Redl-Mann's user avatar
1 vote
1 answer

Query Entries only with postDate last of month

I'm trying to make a query for all entries on the latest of the month. So for example there is a list of entries that range from 01 January, 2020 to 31 October, 2021 each day has a separate entry. I ...
svanzon's user avatar
  • 11
1 vote
1 answer

How do I write a GraphQL query to search through sub-entries/entries as fields and return the whole entry?

So I have a fairly complex section structure that (on an Entry Type) has a matrix field that contains entries as fields(sub-entry) within a blocktype. I'd like to write a GraphQL query such that when ...
Eric's user avatar
  • 133
1 vote
1 answer

Rebuilding my portfolio site from scratch in CraftCMS 3 and having an issue getting content to display

I'm rebuilding my portfolio site in CraftCMS 3 and started building some VERY basic templates to test the sections and ensure everything is connecting properly before uploading a bunch of content and ...
Stuart McCoy's user avatar