• Hello there,

    is there no archive.php to display categories and tags in the theme?
    I’d like a grid view with post names please? is there a function I can add in code snippets? Please help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    You need to modify the theme file using the child theme. Copy the oceanwp > partials > entry folder into the child theme following the same path and edit it as per your need.

    Thread Starter anusha75

    (@anusha75)

    I am sorry I didnt understand what you meant by following the same path? the whole entry folder goes where in the child theme ftp files area? And which file needs to be edited to create an archive.php or do I need to make one. If so, how do I call it from functions.php? can you help Amit?

    Thread Starter anusha75

    (@anusha75)

    I think you meant EDD . do I just copy this entire folder with the other files too or just the edd folder with only archive.php? and if so where in the hierarchy of child theme folder should I place it ?

    in this area?

    oceanwp-child-theme-master>partial>edd>archive.php ?

    No, you can just copy the oceanwp partials > entry folder into the child theme and edit the layout, meta, content, etc file as per your need.

    oceanwp-child-theme > partials > entry

    It will change all the archive layout. If you want to create it only for a specific CPT, let me know.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Archive.php’ is closed to new replies.