# \#custom-wp-query

**URL:** https://forum.pinegrow.com/tag/custom-wp-query/7.md

[Latest](https://forum.pinegrow.com/latest.md) · [Categories](https://forum.pinegrow.com/categories.md) · [Tags](https://forum.pinegrow.com/tags.md)

---

## [Related posts using the loop](https://forum.pinegrow.com/t/related-posts-using-the-loop/992)

<div class="topic-metadata">

**Author:** [@alejuu](https://forum.pinegrow.com/u/alejuu)\
**Replies:** 2\
**Last updated:** [August 1, 2022, 5:04pm UTC](https://forum.pinegrow.com/t/related-posts-using-the-loop/992 "2022-08-01T17:04:19Z")

</div>

Hi, I found a way to create related posts for the single post without using a plugin http://www.wpbeginner.com/wp-themes/how-to-add-related-posts-with-a-thumbnail-without-using-plugins/ , actually, it doesn't work when I…

---

## [Show posts custom query for specific pages](https://forum.pinegrow.com/t/show-posts-custom-query-for-specific-pages/5406)

<div class="topic-metadata">

**Author:** [@BinaryPusher](https://forum.pinegrow.com/u/BinaryPusher)\
**Replies:** 0\
**Last updated:** [July 1, 2021, 10:26am UTC](https://forum.pinegrow.com/t/show-posts-custom-query-for-specific-pages/5406 "2021-07-01T10:26:57Z")

</div>

Hi all, I’ve set this up to query post type page and set the order, but I can’t figure out how to pass in an id list. Pinegrow tells me the post\_list is undefined, or the theme breaks ( no content loaded at all) or I j…

---

## [WordPress The Loop Issue](https://forum.pinegrow.com/t/wordpress-the-loop-issue/427)

<div class="topic-metadata">

**Author:** [@24degrees](https://forum.pinegrow.com/u/24degrees)\
**Replies:** 10\
**Last updated:** [April 4, 2020, 10:50am UTC](https://forum.pinegrow.com/t/wordpress-the-loop-issue/427 "2020-04-04T10:50:13Z")

</div>

Hi there, I'm a bit confused with the loop here. I have a page, called single-services.php, which shows, of course, 3 services. The whole idea is the following: 1 service will be big 100% width and is the current pos…

---

## [Events Custom Post Type - adding array\_search for Year?](https://forum.pinegrow.com/t/events-custom-post-type-adding-array-search-for-year/1178)

<div class="topic-metadata">

**Author:** [@moe247](https://forum.pinegrow.com/u/moe247)\
**Replies:** 1\
**Last updated:** [April 24, 2019, 10:22am UTC](https://forum.pinegrow.com/t/events-custom-post-type-adding-array-search-for-year/1178 "2019-04-24T10:22:45Z")

</div>

I am adapting a WP theme to manage it in future with Pinegrow. The theme uses a custom post type for ‘Events’. On the front end the Past Events will be arranged by year in an accordion. The code in the working example pl…

---

## [Remove a category in a Loop WP Theme](https://forum.pinegrow.com/t/remove-a-category-in-a-loop-wp-theme/192)

<div class="topic-metadata">

**Author:** [@deluxdelx](https://forum.pinegrow.com/u/deluxdelx)\
**Replies:** 1\
**Last updated:** [September 17, 2016, 9:04am UTC](https://forum.pinegrow.com/t/remove-a-category-in-a-loop-wp-theme/192 "2016-09-17T09:04:24Z")

</div>

Good afternoon. In WP theme I created in Pinegrow in a given loop, like that Category 5 was not shown in this loop. How to do this in Pinegrow?
