Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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

    #666550

    Hey unesourisverte!

    Can you please post the link to your page where you would like to make changes?

    Best regards,
    Yigit

    #666554

    Hey 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?

    #666557

    Hey!

    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,
    Yigit

    #666582

    Thanks 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/#”&gt;

    A solution or not ?

    Thanks your help me a lot

    #666584

    Hey!

    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!
    Yigit

    #666592

    Sorry, don’t work this tme. !

    #666593

    Hi!

    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,
    Yigit

    #666597

    Me 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

    #666618

    Hi!

    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,
    Yigit

    #666631

    :-) :-) Well done !!!

    You can close this thread.

    Best regards

    #666637

    Hi!

    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

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘remove archive for’ is closed to new replies.