-
AuthorPosts
-
May 8, 2015 at 12:11 pm #441493
Hello Enfold,
I while back I removed all the archive titles of my blog. And now I would like them back, kinda. I would like to have the back without the “archive for”.I looked at the forum and everbody suggests editing wp-content\themes\enfold\framework\php. But When I look at the date stamp I have never editted this before.
So my question would be where do I remove and get back the full titles of the archive, so I can edit them later.
cheers
- This topic was modified 9 years, 6 months ago by Wolf. Reason: add functions.php, maybe its _add filter related
May 9, 2015 at 5:57 am #441878Hi WolfvanHaeren!
Could you provide us with a link to the site in question so that we can take a closer look please?
Regards,
RikardMay 11, 2015 at 8:44 am #442258This reply has been marked as private.May 13, 2015 at 7:32 am #443568Hey!
Have you tried restoring archive.php from a fresh copy of Enfold?
Best regards,
JosueMay 13, 2015 at 8:20 am #443598yes I did,
Archive.php was not changed in anywayMay 13, 2015 at 8:30 am #443612This reply has been marked as private.May 13, 2015 at 8:38 am #443622Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueMay 13, 2015 at 10:23 am #443667This reply has been marked as private.May 14, 2015 at 11:36 am #444237Hey!
The archive title is located inside the breadcrumb or title container. On your previous thread, you asked for a way to disable the breadcrumbs: https://kriesi.at/support/topic/breadcrumbs-on-one-part-of-site/
Best regards,
IsmaelMay 15, 2015 at 9:04 am #444820I see! That makes sense I forgot that It was in the breadcrumb.
So now I have a bit of a problem.
My general site setting for breadcrumbs is none.
I use the option in the pages to turn them on when I need them.
And I use quick css to hide the titel. So I just have the breadcrumbs.But now in the archive page I need the titel and not the breadcrumbs.
My guess would be turning the title and breadcrumbs back on for the site. Hiding the titles for the pages I need the breadcrumbs. And hiding the Breadcrumbs for when I need the titles. And hiding everything for the rest of the site. But this doesn’t seem the easiest way.
I would like to hear if you have an Idea?
cheers
May 18, 2015 at 4:38 am #445493Hey!
I tried logging with the user provided here but the login page keeps refreshing.
Regards,
JosueMay 18, 2015 at 8:21 am #445518This reply has been marked as private.May 19, 2015 at 3:27 am #446170Hey!
Add this in the functions.php file:
add_action( 'ava_after_main_title', 'ava_archive_title_mod'); function ava_archive_title_mod() { if(is_category()) { echo avia_title(array('title' => avia_which_archive(), 'breadcrumb' => false)); } }
Remove browser cache then reload the page.
Regards,
IsmaelMay 19, 2015 at 10:33 am #446304Hello Ismael,
The code doesn’t seem to do anything.
Maybe because of .title_container .main-title { display: none; } in the css.cheers
May 20, 2015 at 6:27 am #446926May 20, 2015 at 10:29 am #447012That I understand, but it will return everywhere. We need the title only on post archive pages. We have given up so you can close this. Maybe we will revisit later.
May 22, 2015 at 9:34 am #448266Hi!
Don’t remove the code but add this below:
.archive .title_container .main-title { display: block !important; }
Regards,
IsmaelMay 27, 2015 at 3:31 pm #450605it worked! thanks a lot!!
-
AuthorPosts
- The topic ‘archive titles’ is closed to new replies.