Archive Page Template Wordpress

jamesgander
18 Posts
jamesgander posted this 07 June 2016

Hi there,

I want to be able to create a archive page template. Is this possible?

So for example, I could create a page called 'Therapies', and enter page content as per usual. This content would be a short introductory paragraph. I would then set the template for this page to 'Therapy Archive' (or whatever name), and below the page content I want an archive of a custom post type, 'therapies', that I've created. I want to then be able to format how the posts display on this particular archive, without affecting other parts of the theme/website.

Currently, I can create an 'Archive Template', but this doesn't allow my client to edit any non-dynamic text on the page - ie. they can edit each 'therapy' separately, but they can't change the introduction paragraph or anything because I have to include any such text in the template itself rather than being able to edit it from the WP admin.

Thanks!

Hi there, I want to be able to create a archive page template. Is this possible? So for example, I could create a page called 'Therapies', and enter page content as per usual. This content would be a short introductory paragraph. I would then set the template for this page to 'Therapy Archive' (or whatever name), and below the page content I want an archive of a custom post type, 'therapies', that I've created. I want to then be able to format how the posts display on this particular archive, without affecting other parts of the theme/website. Currently, I can create an 'Archive Template', but this doesn't allow my client to edit any non-dynamic text on the page - ie. they can edit each 'therapy' separately, but they can't change the introduction paragraph or anything because I have to include any such text in the template itself rather than being able to edit it from the WP admin. Thanks!
Vote to pay developers attention to this features or issue.
8 Comments
Order By: Standard | Newest
jamesgander
18 Posts
jamesgander posted this 07 June 2016

This seems to be basically what I want to do... but I have no idea how to do something like this with Themler...

http://www.carriedils.com/custom-post-type-archive-template/

This seems to be basically what I want to do... but I have no idea how to do something like this with Themler... [http://www.carriedils.com/custom-post-type-archive-template/][1] [1]: http://www.carriedils.com/custom-post-type-archive-template/
Support Team
Support Team posted this 08 June 2016

Hi.

You should create your own post type like in mentioned article.
After that, create custom template in Themler and name it post_type.php (post_type is your post type name).

add.png

And posts of your post type will automatically appear on this page.

I want to then be able to format how the posts display on this particular archive, without affecting other parts of the theme/website.

This option should help:

customize.png

Hi. You should create your own post type like in mentioned article. After that, create custom template in Themler and name it post_type.php (post_type is your post type name). !add.png! And posts of your post type will automatically appear on this page. > I want to then be able to format how the posts display on this particular archive, without affecting other parts of the theme/website. This option should help: !customize.png!
jamesgander
18 Posts
jamesgander posted this 08 June 2016

Hi there,

Perhaps I didn't make myself clear. I have done this much, as explained in my post. But I want to be able to include a paragraph of text at the top of the archive page, introducing the archive. The client should be able to edit this text without using Themler. The link I posted suggests it should be possible to create a 'PAGE' template and include an archive within that.

For example, I could create a page called 'Therapies', and assign the 'Therapy Archive' page template in the wordpress page editor. This would allow me to edit the static content on this page (the intro paragraph), and then dynamically list all the therapies (CPTs), below.

Hi there, Perhaps I didn't make myself clear. I have done this much, as explained in my post. But I want to be able to include a paragraph of text at the top of the archive page, introducing the archive. The client should be able to edit this text without using Themler. The link I posted suggests it should be possible to create a 'PAGE' template and include an archive within that. For example, I could create a page called 'Therapies', and assign the 'Therapy Archive' page template in the wordpress page editor. This would allow me to edit the static content on this page (the intro paragraph), and then dynamically list all the therapies (CPTs), below.
Support Team
Support Team posted this 10 June 2016

Hello James,
I'm sorry but your last post is not quite clear for me.
If you mean that you'd like to include

tag at the beginning of the page, you may do it in WP admin back end. Just edit the page content.

If I misunderstood you please let me know

regards,
Aileen

Hello James, I'm sorry but your last post is not quite clear for me. If you mean that you'd like to include <P> tag at the beginning of the page, you may do it in WP admin back end. Just edit the page content. If I misunderstood you please let me know regards, Aileen
jamesgander
18 Posts
jamesgander posted this 10 June 2016

I'm attaching a diagram to try to explain myself better. I want to create a template that has a section that always remains the same, and can be edited from the Wordpress Backend - eg. a PAGE, but then I want to include an archive for a custom post type below the page content, and style this archive using Themler.

Let me know if this is a clearer explanation?

I'm attaching a diagram to try to explain myself better. I want to create a template that has a section that always remains the same, and can be edited from the Wordpress Backend - eg. a PAGE, but then I want to include an archive for a custom post type below the page content, and style this archive using Themler. Let me know if this is a clearer explanation?
Stagger Lee
1833 Posts
Stagger Lee posted this 11 June 2016

Only way is as I explained in one separate topic, with hidden Archive templates and custom WP_query. If you want to keep Themler editing abilities. Search forum and find it.

Themle has option to list specific gategory / categories in Page templates. Doesnt work with taxonomies from custom post types, as I tested it.

It would be not so diffcult for developers to implement all those WP_query basic filters.

Only way is as I explained in one separate topic, with hidden Archive templates and custom WP_query. If you want to keep Themler editing abilities. Search forum and find it. Themle has option to list specific gategory / categories in Page templates. Doesnt work with taxonomies from custom post types, as I tested it. It would be not so diffcult for developers to implement all those WP_query basic filters.
Stagger Lee
1833 Posts
Stagger Lee posted this 11 June 2016

Or use some Post listing Bootstrap plugin. Themler now works with columns 12 regions. You wont have all controls there and all TH options but would look nice anyway.

Or use some Post listing Bootstrap plugin. Themler now works with columns 12 regions. You wont have all controls there and all TH options but would look nice anyway.

Last edited 11 June 2016 by Stagger Lee

Support Team
Support Team posted this 16 June 2016

Hello James,
so as I understand you'd like to output a combination of the article and posts in WP, right?
You may try to output page(article) and below locate the Widget Area with widget like 'Recent Posts'. So the page(article) could be edited from WP admin back end

regards,
Aileen

Hello James, so as I understand you'd like to output a combination of the article and posts in WP, right? You may try to output page(article) and below locate the Widget Area with widget like 'Recent Posts'. So the page(article) could be edited from WP admin back end regards, Aileen
You must log in or register to leave comments