-
AuthorPosts
-
July 29, 2016 at 11:06 am #666522
I look for the solution since 3 day without results
I would like to delete “archive for” in the navigation bar in the category page because it is not archives but news in my pages.Thanks for helping
July 29, 2016 at 12:38 pm #666550Hey unesourisverte!
Can you please post the link to your page where you would like to make changes?
Best regards,
YigitJuly 29, 2016 at 1:00 pm #666554Hey Yigit
No I can’t my website is in local.
This is the page’s title but when the page is link to a category : ilt’s written like that : ” archive for + name of a page” and i want to delete archive for and keep jus title
<h1 class=”main-title entry-title”>Archive pour la catégorie : formation</h1><div class=”breadcrumb breadcrumbs avia-breadcrumbs”><div class=”breadcrumb-trail” xmlns:v=”http://rdf.data-vocabulary.org/#”><span class=”trail-before”><span class=”breadcrumb-title”>Vous êtes ici :</span></span> Accueil <span class=”sep”>/</span> <span typeof=”v:Breadcrumb”>Pro</span> <span class=”sep”>/</span> <span class=”trail-end”>formation</span></div></div>
Is it clear?
July 29, 2016 at 1:09 pm #666557Hey!
Please add following code to Functions.php file of your child theme in Appearance > Editor
add_filter('avf_title_args', 'change_cat_title', 10, 2); function change_cat_title($args,$id) { if (is_category()) { $args['title'] = single_cat_title('',false); } return $args; }
Regards,
YigitJuly 29, 2016 at 1:57 pm #666582Thanks a lot ! :-)
But now I have the similar problem when I click to an article of a category it is written “blog à la une” in the title entry and not the name of this article
<div class=”container”><strong class=”main-title entry-title”>Blog – A la une<div class=”breadcrumb breadcrumbs avia-breadcrumbs”><div class=”breadcrumb-trail” xmlns:v=”http://rdf.data-vocabulary.org/#”>
A solution or not ?
Thanks your help me a lot
July 29, 2016 at 2:00 pm #666584Hey!
Can you please try adding following code to Functions.php file as well
add_filter('avf_title_args', 'fix_single_post_title', 10, 2); function fix_single_post_title($args,$id) { if ( $args['title'] == 'Blog - Latest News' ) { $args['title'] = get_the_title($id); $args['link'] = get_permalink($id); $args['heading'] = 'h1'; } return $args; }
Cheers!
YigitJuly 29, 2016 at 2:14 pm #666592Sorry, don’t work this tme. !
July 29, 2016 at 2:15 pm #666593Hi!
Can you please post a screenshot showing the changes you would like to make? you can upload your screenshots on imgur.com or Dropbox public folder and post the links here.
Regards,
YigitJuly 29, 2016 at 2:34 pm #666597Me again
Here the link of screenshot http://imgur.com/a/NXwgy
I want to remove article entry ttle “blog a la une” and remplace by the name of the article. Possible or not?
Regards
July 29, 2016 at 3:57 pm #666618Hi!
Please change the code to following one
add_filter('avf_title_args', 'fix_single_post_title', 10, 2); function fix_single_post_title($args,$id) { if (is_single()) { $args['title'] = get_the_title($id); $args['link'] = get_permalink($id); $args['heading'] = 'h1'; } return $args; }
Best regards,
YigitJuly 29, 2016 at 4:23 pm #666631:-) :-) Well done !!!
You can close this thread.
Best regards
July 29, 2016 at 4:43 pm #666637Hi!
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)Cheers!
Yigit -
AuthorPosts
- The topic ‘remove archive for’ is closed to new replies.