Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #350006

    Hi,

    I am having trouble customising the permalinks. I have tried using “custom structure” in the settings menu and then changing the permalink on each page but it doesn’t seem to work. I would like each permalink to match it’s respective page name.

    Cheers

    #350008
    This reply has been marked as private.
    #350040

    Hey!

    1- Please check trash and make sure that there is not another page with same permalink
    2- Please add following code to Functions.php file in Appearance > Editor

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(is_page(447) )
        {
        $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
        }
        return $logo;
    }

    Best regards,
    Yigit

    #350307

    Hi Yigit,

    There was a page in the trash folder with the same name. After deleting this, the problem with the permalink was solved, thanks.

    I have added the code to the appropriate php file. The logo on the front page has now changed to a K emblem. Have I done something wrong here? Do I need to adapt the code to apply a chosen logo to a specific page?

    Cheers

    #350880

    Hi,

    I see that the code has a link to a page with your K logo. I am wondering how I adapt the code to refer to my desired logo file?

    Apologies if this is a bit of a dumb question..

    Cheers

    #350901

    Hi!

    Please simply upload your second logo in Media Library and then change the link in the code i posted. I inserted Kriesi.at logo as an example

    Regards,
    Yigit

    #350944

    Hi!

    Thanks for that! Just wondering what I should change the link in the code to – that is, where do I find the link for the specific link for each logo/picture in my media gallery?

    Cheers

    #350953

    Hey!

    Please go to Media > Library and click on your second logo image and you can find URL on the right hand side – http://i.imgur.com/zL2ZUJZ.png
    That is what you should put in the code instead of current “http://kriesi.at/wp-content/themes/kriesi/images/logo.png”
    Cheers!
    Yigit

    #351158

    Hi!

    Thank you, I did as suggested and it worked a treat!

    The solutions to most of my problems are almost always really simple and as in this case I think to myself…… hmmm I probably should have figured that one out myself! You guys obviously have a lot of patience answering questions that could be considered somewhat “dumb”!

    Thanks again.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘How to customise permalinks?’ is closed to new replies.