Comments Alfonso started the conversationApril 23, 2017 at 7:06pmHi there!I would like to remove the ALL tab from the portfolio section. I would like to remove or to put it the latest of the categories.Thanks for your time.Alfonso. 1,974Support repliedApril 24, 2017 at 3:03pmHello Alfonso,The all filter is essential to initialise the portfolio section so we cannot remove it. Best is to keep it in the page but to hide it.Add#filters #all { display: none; }to theme options -> styling options -> custom cssThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicyAlfonso repliedApril 24, 2017 at 3:46pmHi,THANKS! It worked!Could i give another order to the categories instead of alphabetical order?Thank you,Alfonso. 1,974Support repliedApril 24, 2017 at 3:56pmHello Alfonso,yes, but you need to have some php knowledge.The function that selects the portfolio categories is get_termshttps://developer.wordpress.org/reference/functions/get_terms/#parametershave a look at the parameters, especially orderby and orderthe function is called in /sections/portfolio_section.php line 63Thank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicyAlfonso repliedApril 24, 2017 at 4:48pmHi, I see... I don't know anything about php, so i will leave it just like it is now.Another question, i would like that the social link from the footer get opened in another tab, no in the same page, how could i get it?Thanks again,Alfonso. 1,974Support repliedApril 25, 2017 at 5:47pmHello,open footer.php, got to line 55 and change this bit<li><a href="<?php echo $global_theme_options[$option_idx]; ?>">to <li><a href="<?php echo $global_theme_options[$option_idx]; ?>" target="_blank">Thank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicyAlfonso repliedApril 25, 2017 at 8:52pmHi,You are fabulous! Thank you so much!Alfonso. Sign in to reply ...
Hi there!
I would like to remove the ALL tab from the portfolio section. I would like to remove or to put it the latest of the categories.
Thanks for your time.
Alfonso.
Hello Alfonso,
The all filter is essential to initialise the portfolio section so we cannot remove it. Best is to keep it in the page but to hide it.
Add
#filters #all {
display: none;
}
to theme options -> styling options -> custom css
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hi,
THANKS! It worked!
Could i give another order to the categories instead of alphabetical order?
Thank you,
Alfonso.
Hello Alfonso,
yes, but you need to have some php knowledge.
The function that selects the portfolio categories is get_terms
https://developer.wordpress.org/reference/functions/get_terms/#parameters
have a look at the parameters, especially orderby and order
the function is called in /sections/portfolio_section.php line 63
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hi,
I see... I don't know anything about php, so i will leave it just like it is now.
Another question, i would like that the social link from the footer get opened in another tab, no in the same page, how could i get it?
Thanks again,
Alfonso.
Hello,
open footer.php, got to line 55 and change this bit
<li><a href="<?php echo $global_theme_options[$option_idx]; ?>">
to
<li><a href="<?php echo $global_theme_options[$option_idx]; ?>" target="_blank">
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hi,
You are fabulous!
Thank you so much!
Alfonso.