Hi Air,
it's me again.
I want to show only certain albums on the frontpage and all albums on a separate page. Possible?
I can mark albums as background only, but then they won't be seen on the frontpage and (!) on the separate page.
The perfect solution would be a function to show only a certain genre on the frontpage, but that's not possible atm.
Thanks in advance,
Marcus
Comments
Why it is not possible? This is exactly what you should do :-)
Here is how to create genre http://apollo13.eu/docs/hypershot/#!/adding_album_adding_multiple_albums_list and link it
However I don't know how to link this genre page to be frontpage. I am afraid it would require harder customization. If you are OK with it, then you will have to prepare your genre for front-page, run child theme(if you wish to still have painless updates), and then come back to me with link of your genre.
How to run child theme(you probably will have to setup your menu again): http://apollo13.eu/docs/hypershot/#!/modification_of_theme
If I have your FTP and WP access data I can do it my self, but still will describe it here:-)
With regards.
http://iso500.de/archives/genre/frontpage
I would rather like to do it myself. That way I learn more.
But anyway shouldn't that be included in the next update? I think many people would love to show only a certain genre on the frontpage.
Thanks for your help,
Marcus
Lets go!
1. Copy
front-page.php
andalbums-list.php
to child theme.We are going to edit files in child theme.
2. In
front-page.php
line ~45 change to 3. Inalbums-list.php
line 34 beforeif($genre_template === true){
you have to add this codefrontpage
is slug of your genre you wish to see on front page. If you would like to change to other genre, you can find slug inMy Albums -> Genre
Hope you can make it:-)
With regards.
You just need an admin access you said? Can I PM it?
With regards.
front-page.php
, change added line todefine('A13_GENRE_CALL', true);
I have fixed previous code.
With regards.
Coffee and Cake for Air.
With regards.