Home › Forums › Jevelin Theme › Project breadcrumbs link doesn't work
Home › Forums › Jevelin Theme › Project breadcrumbs link doesn't work
When you enter project page you have a breadcrumbs above (which is Home -> Project -> currentProjectName)
When you click on the Project link it redirects to the Main Page instead of the Projects page which I’ve made.
Hi @Konrud,
Thank you for your question.
I have tested it on my test site using latest version of Jevelin theme and it’s working fine for me by redirecting to projects listings page.
Could you please share me the Projects page URL from your site and where you want to redirect it so that i can help you?
Best regards,
Shufflehound team
I’ve sent you as PM.
Not sure why it is redirecting to portfolio page from projects page on your site.
Would you mind if i log in to your site and do some troubleshooting? If this is ok then could you please share me your site log in details privately by adding them in the box having text “Click here to share private content. Only you and forum moderators will bee able see it.”?
No problem, where exactly I can receive/find log file’s data?
Please see the information provided on the below pages.
https://snapcreek.com/blog/wordpress-error-log-friend/
http://smallbusiness.chron.com/server-error-log-wordpress-blog-41147.html
I’ve sent you part of the log file in PM.
It is not error log. You have shared something different logs.
I’ve sent you as PM (I hope now it’s what you need).
I’m not sure, but I think the problem may be because of the if
statement in this file:
jevelin/framework-customizations/extensions/portfolio/views/archive.php
If so, could you please provide me with the code that I should put in?
I don’t need any log data. It was your idea to send me it. I need your site access to troubleshoot the issue as i could not reproduce the issue on my test site.
If you can’t share it then at least share me the screenshots of your portfolio settings so that i tried to reproduce the issue.
Also i can see you are using older version 2.4.1 of theme on your site so please update it to following latest version.
Please login to access this file
This can be child theme issue on your site so to confirm it just temporary use the Jevelin theme instead of child theme on your site. If everything works fine then it’s your child theme issue so just share me your child theme so that i can troubleshoot it.
What about
the if
statement in this file:
jevelin/framework-customizations/extensions/portfolio/views/archive.php
could it be it?
What do you mean by portfolio settings
where can I find it?
Solution for this topic
What about
the
if
statement in this file:jevelin/framework-customizations/extensions/portfolio/views/archive.php
could it be it?
Yes it seems the following code in this file is causing this issue so i have notified the theme developer about this so that it will be fixed.
wp_reset_postdata();
$portfolio1 = get_page_by_path( 'portfolio' );
$portfolio2 = get_page_by_path( 'portfolio-page' );
if( isset( $portfolio1->ID ) && $portfolio1->ID > 0 ) :
wp_redirect( get_the_permalink( $portfolio1->ID ) );
elseif( isset( $portfolio2->ID ) && $portfolio2->ID > 0 ) :
wp_redirect( get_the_permalink( $portfolio2->ID ) );
else :
wp_redirect( get_home_url( '/' ) );
endif;
exit;
In the meanwhile you can fix it by removing the above code from theme file and uncommenting other code in the same file or just use the attached child theme of Jevelin theme that contains some custom code.
It still doesn’t work, now when I try to load http://www.mysite.com/projects
it opens some Archive page.
Please tell us in detail which solution you have used and make sure to clear your site cache after using it.
I’ve downloaded provided zip file and replaced files in child-theme.
Instead of replacing the files could you please just try using the shared child theme removing your child theme?
Or share me your modified child theme so that i can test it on my site?
I’ve used the provided one, not mine.
Ok. Please make sure you clear your W3 Total Cache and autoptimize cache.
If it still doesn’t work for you then would you mind if i log in to your site and do some troubleshooting? If this is ok then could you please share me your site log in details privately by adding them in the box having text “Click here to share private content. Only you and forum moderators will bee able see it.”?