WPIntell

Source evidence

Allow to get Private Posts

Advanced Queries 路 support 路 2024-11-19T04:51:00+00:00

mixedsentiment
mediumseverity
0.85relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 31 rows with source links

9.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
antonely93 resolved
Hello, Thank you for this plugin 馃檪 . It鈥檚 working well but i want to ask: is there a way to allow the request to access the Private Posts of the current logged user ? Regards, Hi, great question. We will add this option very soon. In the mean time, you can use this code snippet taken from Elementor鈥檚 documentation: https://developers.elementor.com/docs/hooks/custom-query-filter/ /** * Update the query to use specific post statuses. * * @since 1.0.0 * @param \WP_Query $query The WordPress query instance. */ function my_query_by_post_status( $query ) { $query->set( 'post_status', [ 'future', 'draft'] ); } add_action( 'elementor/query/{$query_id}', 'my_query_by_post_status' ); You need to change the {$query_id} to your query id for this to work I tried this but it simply doesn鈥檛 work. When will this feature be in your plugin? I am waiting to see if we should buy your FrontEnd Admin but i want to see what kind of support you offer. This reply was modified 1 year, 3 months ago by awjensen . Sorry to hear that. I will make sure we implement this important feature soon

Comments

3 shown
Shabti Kaplan 2025-01-06T09:58:00+00:00

Hi, great question. We will add this option very soon. In the mean time, you can use this code snippet taken from Elementor鈥檚 documentation: https://developers.elementor.com/docs/hooks/custom-query-filter/ /** * Update the query to use specific post statuses. * * @since 1.0.0 * @param \WP_Query $query The WordPress query instance. */ function my_query_by_post_status( $query ) { $query->set( 'post_status', [ 'future', 'draft'] ); } add_action( 'elementor/query/{$query_id}', 'my_query_by_post_status' ); You need to change the {$query_id} to your query id for this to work

awjensen 2025-02-09T20:12:00+00:00

I tried this but it simply doesn鈥檛 work. When will this feature be in your plugin? I am waiting to see if we should buy your FrontEnd Admin but i want to see what kind of support you offer. This reply was modified 1 year, 3 months ago by awjensen .

Shabti Kaplan 2025-02-09T21:01:00+00:00

Sorry to hear that. I will make sure we implement this important feature soon