Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
KonstantinosMetaxakis
tagDiv Member

Hi again,

Thank you for your previous response. I understand that there is currently no native support for a global Page template similar to how Single Post templates work via Cloud Library.

However, duplicating a designed page manually for each of our pages is unfortunately not a scalable or maintainable solution for our workflow.

Here’s why:

We have over 80 static Pages (not Posts) — such as “Rankings”, “Terms of Use”, “Privacy Policy”, etc.

We need all these pages to have a consistent layout, identical to our Single Post template (header, featured image, date, sidebars, etc.).

Editing and managing 80 separate copies of the same layout breaks maintainability — any design update means repeating changes manually 80 times.

The current Cloud Library approach works great for posts, but we’re specifically trying to apply it to WordPress Pages.

We’ve tried using custom page.php templates in the theme or plugin folders, but TagDiv Cloud Library always overrides the page output.

What we’re asking:

Is there any method — through PHP, a filter, or even a workaround — to assign a single Cloud Template (or custom template) globally to all WordPress Pages and have it pull each page’s content automatically?

We believe this would be extremely useful for many use cases, and perhaps there’s an internal way or workaround that we’re missing.

Thank you again for your support and time — we really hope there’s a way to make this work.

Best regards,

KonstantinosMetaxakis
tagDiv Member

Good evening,

We found the solution and I am writing it here so that in the future if other users encounter a similar problem they will all know the solution.

In the class-anwpfl-template.php file of the plugin at the path:
/wp-content/plugins/football-leagues-by-anwppro/includes/

the line should be

134

if ( $post && in_array( $post->post_type, $this->plugin->get_post_types(), true ) && is_singular() && is_main_query() && ! post_password_required() ) {

it should be done like this:

if ( $post && in_array( $post->post_type, $this->plugin->get_post_types(), true ) && is_singular() && is_main_query() && in_the_loop() && ! post_password_required() ) {

Viewing 2 posts - 1 through 2 (of 2 total)