Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom navigation conflict #598

Open
marbaque opened this issue Dec 15, 2017 · 2 comments
Open

Custom navigation conflict #598

marbaque opened this issue Dec 15, 2017 · 2 comments

Comments

@marbaque
Copy link

Description

I have a custom navigation function I created for a custom post type single template. When I activate the badgeOS plugin it shows the default wordpress navigation instead of my theme navigation.

Steps to Reproduce

My function:
function flexieduca_post_navigation() { the_post_navigation(array( 'next_text' => '<span class="meta-nav" aria-hidden="true">' . __('Next', 'flexieduca') . '</span> ' . '<span class="screen-reader-text">' . __('Next post:', 'flexieduca') . '</span> ' . '<span class="post-title">%title</span>', 'prev_text' => '<span class="meta-nav" aria-hidden="true">' . __('Previous', 'flexieduca') . '</span> ' . '<span class="screen-reader-text">' . __('Previous post:', 'flexieduca') . '</span> ' . '<span class="post-title">%title</span>', )); }

and the template function call:
<?php flexieduca_post_navigation(); ?>

Actual result:
Default navigation

Expected result:
Custom navigation

Product Versions

  • BadgeOS: 1.4.9
  • WordPress: 4.9.1

Additional Information

@marbaque
Copy link
Author

has anybody had a problem like this?

@marbaque
Copy link
Author

I found the problem #611 but not the solution. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant