-
AuthorPosts
-
December 8, 2015 at 2:41 pm #548751
Hi
Pretty simple issue this time, I don’t understand why my portfolio entries do not display Previous/Next nav like in my post entries (or in the demo http://kriesi.at/themes/enfold/portfolio-item/single-portfolio-23-gallery-3/).
Any hint?December 8, 2015 at 2:42 pm #548753and here is a link to a portfolio entry (private)
December 10, 2015 at 1:23 pm #550339Hey!
Are you using a layerslider o a fullwidth slider in your portfolio items? there’s a rule that will prevent the post nav from showing if one of those is present (because they overlap):
if((class_exists('avia_sc_layerslider') && !empty(avia_sc_layerslider::$slide_count)) || class_exists('avia_sc_slider_full') && !empty(avia_sc_slider_full::$slide_count) ) $settings['is_fullwidth'] = true;
Best regards,
JosueDecember 10, 2015 at 1:36 pm #550353Hi Josue
Nope, no slider here.
Link and login details below.December 13, 2015 at 3:49 am #551548Hey!
Did you add any modifications in the child theme folder? We would like to access the Appearance > Editor panel but it is currently disabled.
Regards,
IsmaelDecember 14, 2015 at 10:44 am #552068Hi Ismael
If you want access to the Editor panel, you have to go through Network Admin (/wp-admin/network/theme-editor.php).BTW, I have disabled every plugin and switched back to default Enfold theme : still no nav arrows on portfolio pages.
Please advise.
ThxDecember 17, 2015 at 4:09 pm #554459Hi
Me again, looking for a solution for this issue.
It seems to be a compatibility issue with Duplicate Post plugin.
I tried to create some new test portfolios. The navigation shows only between the new portfolio I just created manually. As soon as I clone a post using Duplicate Post (which I always had for my numerous previous portfolio entries), this entry seems to be hidden from the navigation. The post displays in every other situation, like category page, portfolio shortcodes, etc. Only the navigation can’t see the cloned entries.
Could you please help me with this issue. What meta data is used by the navigation? What meta could have been wrongly cloned or maybe bypassed by the cloning process?
I can’t say if the issue is theme or plugin related, and I need to know which information may be missing in cloned posts.
ThanksDecember 18, 2015 at 4:57 pm #555070Hey!
Do you use any other plugins that may modify how Posts are created/managed?
Regards,
JosueDecember 18, 2015 at 5:20 pm #555079No.
How does Enfold deal with the relations between posts?
Is it only category related? What data could be missing in the post-meta?BTW, I just notice that prev/next nav on blog posts doesn’t respect post category to display the prev/next posts in the same categories only. What is the rule then? Do we have some measure of control on this?
December 23, 2015 at 4:36 pm #557045Hey!
Enfold just deals the standard WordPress way. I think you need to contact plugin’s author about it. Does it work for you when deactivating all plugins completely?
There might be some corrupted files, so please delete all theme files completely via FTP, before installing a fresh copy from your themeforest account: http://kriesi.at/documentation/enfold/install-enfold-over-ftp/
Best regards,
AndyDecember 23, 2015 at 5:16 pm #557081Hi Andy
I already have reuploaded the theme multiple times and contacted the author of Dupplicate post.
As I said earlier, deactivating every plugin and child theme don’t solve the issue.
I suggest that some data may be missing in the database. Could you please tell me how Enfold (or WordPress) deals the relations between posts to create prev/next nav? Is this only related to the category?And you didn’t answer the question below. It might help understand the problem.
BTW, I just notice that prev/next nav on blog posts doesn’t respect post category to display the prev/next posts in the same categories only. What is the rule then? Do we have some measure of control on this?
Thanks.
- This reply was modified 8 years, 12 months ago by Crimson-Guard.
January 3, 2016 at 3:17 am #558913Hey!
What did the plugin author say?
See here for getting the post nav to display from same category, https://kriesi.at/support/topic/avia-post-nav-with-the-same-category/#post-185420.
Cheers!
ElliottJanuary 8, 2016 at 2:45 pm #561986Hi everyone
I just found the cause of the issue!
I had checked the option for Copy post date. Thus, the previous/next navigation could not determine which post is before/after the other.
I was able to fix my problem by manually changing every post date to have them different (I also had to date them all with specific publishing date/hour to have the nav order I needed).I now understand that the prev/next/nav relies only on post publishing date, and doesn’t check anything else.
I tried the code you provided to respect the post category in prev/next nav, but it changed nothing. I think I will ask for help on the other thread.Cheers
January 9, 2016 at 6:33 am #562321Hi,
Great, glad you found the cause of the problem. Please let us know if you should need any more help on the topic.
Best regards,
RikardFebruary 4, 2016 at 12:42 pm #577729I guess this thread should be marked as resolved. I don’t think I can do it myself, right?
-
AuthorPosts
- The topic ‘How to enable prev/next nav on portfolio items?’ is closed to new replies.