Post count: 2VisualElementMediaNovember 14, 2016 at 7:42 pm #22326
I have my portfolio categories organized by year but I would like the most recent years to be displayed first left to right but It automatically sorts them the opposite. How can I sort or organize which categories appear first at the top of the portfolio page.Post count: 7099AdekNovember 15, 2016 at 2:04 am #22332
Can you help me to provide the url of your portfolio page, so i can check it directly on my side.
Anyway, it would be better if you can change your display name on our forum instead of using your purchase code 🙂
Thank youPost count: 7099AdekNovember 16, 2016 at 2:11 am #22346
I just want to make sure on this thing, so you want to rearrange the category filter sequence, right?
If so, you will need to do small change on this file
/jphotolio/includes/portfolio-template.phpand you will find this code below at the top :1234567891011<?phpglobal $jdata;$categories = get_terms(JEG_PORTFOLIO_CATEGORY, array('order' => 'ASC','hide_empy' => 1,'exclude' => $jdata->portoExclude));?>
then replace with this one below :PHP1234567891011<?phpglobal $jdata;$categories = get_terms(JEG_PORTFOLIO_CATEGORY, array('order' => 'DESC','hide_empy' => 1,'exclude' => $jdata->portoExclude));?>
You must be logged in to reply to this topic.