Tagged: permalink project url portfolio
May 14, 2014 at 5:42 am #3279May 14, 2014 at 11:18 am #3287
I also wanted to know if there is a (simple) way to add the “Background/slider source of images” to the project(portfolio) items as for page and post.May 14, 2014 at 11:41 am #3289
I will go over the questions in the same order:
1). This is out of the scope of the theme back-end capabilities, yet I will try to help out: one needs to alter the “rewrite” array for the code which generates the “project” custom post type. This is located in the theme’s functions.php file – I’ve prepared a custom one for you, which contains the necessary changes (line 383). Please unzip the archive, and upload the resulting file into the theme folder via ftp (/wp-content/themes/Tokyo). After that you might need to flush the permalink cache – you can do this by going to the “Settings -> Permalinks” admin section, changing the radio button to any other setting than your current one, saving the settings, and then resetting the radio to the one you had originally (“post name” I presume).
2). I agree, this would be a good addition to the theme’s functionality! I’ve prepared an updated file – please download this archive, unzip it, and upload the contained file into the following folder:
replacing the existing file. Then refresh the website – the background choice options should now appear on the projects as well.
Please let me know if the above information helps achieve the desired outcomes!
Andrii / Satori StudioMay 16, 2014 at 6:41 pm #3314
Thank you very much. It is working except I can’t use the /portfolio permalink for the portfolio page. Whatever I can live with this :-)May 19, 2014 at 10:03 am #3323
you’re right, the /portfolio permalink will be reserved for the taxonomy, unfortunately I think there’s no way we can make it usable by a page in this case, this is just how WordPress permalink structure works.
Andrii / Satori Studio
You must be logged in to reply to this topic.