Tagged: Permalinks
-
AuthorPosts
-
November 12, 2014 at 2:40 pm #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
November 12, 2014 at 2:50 pm #350008This reply has been marked as private.November 12, 2014 at 4:15 pm #350040Hey!
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 > Editoradd_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,
YigitNovember 12, 2014 at 8:36 pm #350307Hi 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
November 13, 2014 at 8:00 pm #350880Hi,
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
November 13, 2014 at 9:25 pm #350901Hi!
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,
YigitNovember 13, 2014 at 10:31 pm #350944Hi!
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
November 13, 2014 at 10:41 pm #350953Hey!
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!
YigitNovember 14, 2014 at 8:06 am #351158Hi!
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.
-
AuthorPosts
- The topic ‘How to customise permalinks?’ is closed to new replies.