[Resolved] File templates (archives) and page templates

Home Forums Support [Resolved] File templates (archives) and page templates

Home Forums Support File templates (archives) and page templates

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #394252
    Alberto

    Hello.
    I must develop a website where I must use custom post types and custom fields. The goal is that in the frontend I can display the information provided (in the backend) with a file template (archive) designed by me and with a page template also designed by me.

    I love the Generatepress + Elementor combination to build my websites, so I wanted to ask you what you think is the best option to create both the files templates (archives) and the page templates.

    Thanks in advance!

    #394569
    Tom
    Lead Developer
    Lead Developer
    #397803
    Alberto

    Hello Tom!

    Tanks a lot for your suggestion!, as you say is very useful.

    Regarding GeneratePress theme, I’m working with a child theme and I want a single use template so, I suppose I must create a file starting from… both your page.php and your content-page.php files?, (is that the better choice?) and rename them as page-{slug}.php and content-page-{slug}.php?

    What about archives?, Must I start from archive.php?

    BTW do you use some kind of tool for making the templates or you just code directly?

    Thanks a lot, Tom!

    Alberto.

    #397994
    Tom
    Lead Developer
    Lead Developer

    Exactly – you got it ๐Ÿ™‚

    I use Atom, which is a file editor built by GitHub.

    #398008
    Alberto

    Hi Tom!

    Ok.
    Thanks a lot!

    #398016
    Tom
    Lead Developer
    Lead Developer

    You’re welcome! ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.