# Target custom listings page

**URL:** <https://community.hivepress.io/t/target-custom-listings-page/905>\
**Category:** HivePress\
**Created:** [July 13, 2022, 10:46pm UTC](https://community.hivepress.io/t/target-custom-listings-page/905 "2022-07-13T22:46:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jave](https://community.hivepress.io/user_avatar/community.hivepress.io/jave/32/82_2.png) [@Jave](https://community.hivepress.io/u/Jave)\
**Post date:** [July 13, 2022, 10:46pm UTC](https://community.hivepress.io/t/target-custom-listings-page/905/1 "2022-07-13T22:46:26Z")

</div>

Hello,

after setting a specific page in hivepress-settings as listings page ([example.com/listingspagename](http://example.com/listingspagename)) how can i target only this page?

I want to add some text above listings overview it but i can’t find a way to target only this.

For categories i’m using this to set different text for each category link:

```auto
add_action(
	'template_redirect',
	function() {
		if ( is_tax( 'hp_listing_xy','categoryZ' ) ) {
			add_filter(
				'hivepress/v1/templates/listings_view_page',
				function( $template ) {
					return hivepress()->helper->merge_trees(
						$template,
						[
....

```

I tried the same but with

```auto
if ( is_page( 'listingspagename') ) {

```

but didn’t work.

If i leave the if statement completely empty it overrides the text for all categories…

---

<div class="post-metadata">

**Author:** ![yevhen](https://community.hivepress.io/user_avatar/community.hivepress.io/yevhen/32/23_2.png) [@yevhen](https://community.hivepress.io/u/yevhen)\
**Post date:** [July 14, 2022, 10:24am UTC](https://community.hivepress.io/t/target-custom-listings-page/905/2 "2022-07-14T10:24:36Z")

</div>

Please try this hook to customize listings page `hivepress/v1/templates/listings_view_page`  
Here are more details about the hook [Filter: hivepress/v1/templates/{template\_name} | HivePress Hook Reference](https://hivepress.github.io/hook-reference/hivepress_v1_templates_%257Btemplate_name%257D.html)

---

<div class="post-metadata">

**Author:** ![system](https://community.hivepress.io/user_avatar/community.hivepress.io/system/32/13990_2.png) [@system](https://community.hivepress.io/u/system)\
**Post date:** [August 13, 2022, 10:25am UTC](https://community.hivepress.io/t/target-custom-listings-page/905/3 "2022-08-13T10:25:13Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
