Page Templates | WordPress.org

[ad_1]

Hi! I’d like to help you but could you please be more specific? The Friends Plugin uses a Custom Post Type (CPT) but I am not sure if you mean this.

Could you share (relative) URLs and describe which behavior you see there? Thanks!

Thread Starter
Turk

(@turk)

Sure it defaults to https://www.hotelblues.com/friends/

Which is fine for anyone not logged in. But this is what I see:

I want to be able to make this use my terrible cobbled together WordPress theme.

Ok understood! You can easily do this and override each of the templates in https://github.com/akirk/friends/tree/main/templates by just adding it to your theme under a friends/ directory.

So, for example to display “hello” instead of the logged in /friends/ page, you’d create a file containing “hello” in the friends/frontend/index.php file.

So for you specifically you can create a file wp-content/themes/hotelblues/friends/frontend/index.php and it will override that template.

Since this is not very useful, you’d be best off by copying the respective file from https://github.com/akirk/friends/tree/main/templates/ and then start your customization from there.

  • This reply was modified 4 minutes ago by Alex Kirk.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer