Since FB comment box is within content, to add page link in between actual content and fb comment box, you have to add filter to content that runs before fbcomment filter does. you can do that by using priority argument in add_filter function. You can set any number in priority that is lower to that set by fbcommentbox filter.
add_filter ( 'the_content', 'my_wp_link_pages', 98 );
function my_wp_link_pages($content){
$content.=wp_link_pages( array(
'before' => '<div class="page-link">'.__( 'Pages:', 'themejunkie' ),
'after' => '</div>'
) );
return $content;
}
Related Posts:
- Difference between add_filter and apply_filters
- Is it possible to define a template for a custom post type within a plugin independent of the active theme?
- Loading external page template and enqueue script from plugin causes 403 forbidden error
- Create plugin with 3rd party MIT license code
- Notice: wp_get_http is deprecated since version 4.4.0!
- How to check plugins for malicious code?
- How to properly secure my WordPress installation?
- How to add usermeta to “Notice of Email Change” email message
- Is it necessary to translate WordPress key terms when localizing a plugin
- Adding dynamic section to WordPress
- Add Fields with Sub-Fields to WP Job Manager
- How to edit/delete single row items in a table on my own menu page
- Disable wp_enqueue_styles action for specific page
- How to create custom embed block in gutenberg wordpress
- How to add css class to a specific set of images?
- WooCommerce E-Check payment gateway disappeared when site switched to multi-site
- How can sanitize $_FILES[‘haq_slider’] field
- Facebook plugin shows existing comments
- How to trigger $_GET request within admin plugin page?
- Wp favorite posts get user favorites in profile using buddypress [closed]
- How to configure two SMTP Server for wordpress
- Preferred way of cacheing a value in php
- Internationalization autocomplete JS variable
- Howto accurately position images with maximum flexibility?
- Using a post-signup hook to get user details
- How to merge two .PO language files?
- wp_remote_get() returns 403 while file_get_contents() does not
- How to set add question capability for author role in wp pro quiz plugin
- Which widget to use for display category post with view more? [closed]
- Create a multisite network for an existing installation
- AFNetworking incorrectly interpreted WP_Error
- polylang + category/tag custom language link
- how to insert data in wordpress table usnig jquery ajax
- Hack-Proof OR Security in WordPress — is it real?
- Is wp-app.php or wp-apps.php needed for WordPress?
- Warning: Use of undefined constant list_all – assumed ‘list_all’ (this will throw an Error in a future version of PHP)
- How to distinguish if a plugin is not installed or just not active
- JavaScript in a PHP plugin
- Checking the count within a foreach loop
- WordPress Apply filter in plugin causes 500 internal error
- Meta query for comparing two dates
- Can’t activate Plugin: unexpected T_STRING, expecting T_FUNCTION [closed]
- How to prevent plugins from sniffing/stealing other plugins’ options?
- Is there a plugin for feedback like Kissmetrics available? [closed]
- Mask and Track Outbound Links
- Shortcode does not expand in Facebook like
- How do i show different group of images below a button when the button is clicked on the same page in wordpress? [closed]
- why need theme,if page builder is there in wordpress [closed]
- How to Include Custom Post Content From Plugin
- How to redirect to a page after the form is submitted
- Exporting Custom Taxonomy in plugin
- Posts to have category specific sidebars with the widgets
- Add background image/layout for single page?
- Separate jQuery for Individual Comments?
- Does WordPress check for updates of a plugin via plugins root folder name?
- How to write a new file when new post has been published in WordPress
- Need to add/remove group of options and display them as rows
- Using call_user_func() within add_settings_section() within a Class
- Paypal Framework
- custom wordpress theme and yoast seo injecting text in body
- WordPress default post categories meta box widget
- Save order without sending the invoice / order details woocommerce [closed]
- Fatal error “Call to undefined function is_plugin_active” each time the plugin is activated
- Block content with popup
- the content of the uploads folder gets deleted periodically, how to figure out what causes it?
- Product Page loads terribly slow when product gallery images are added
- front end editor creation for Restropress plug in – displaying information from a WP admin area, on a different URL
- Clean old users
- How to make WooCommerce multiple filter with custom meta fields
- One WooCommerce Store to multi distributor sites
- Cannot display wordpress thumbnail
- WordPress User profile with Avatar upload on the front end without plugin?
- How do I render content from a wp_editor in a plugin setting field?
- Only return taxonomies that are linked to a category & product
- Trying to remove a couple categories from shop page
- Enabling plugin on specific pages and subpages
- Widget display in theme
- Can i add custom code in Source in specific page, Header from function.php?
- Plugin to Delete All Posts Monthly
- URL Rewriting from a Plugin based on custom values
- contact 7 plugin stops some pages from working properly
- Disqus plugin outputs script as literal text
- WordPress “Categories to tag converter” not working on imported Blogger posts
- Shortcode return is printing a 1 afterward
- How we add tabs in plugin page
- Custom booking form field not saving
- Woocommerce Revenue
- How to register new elementor widget in functions.php
- Foreach retun in shortcode
- Plugin Option Fire Custom Function After Save
- filter just a portion of plugin function
- Is option_active_plugins actually doing anything useful?
- How to add infinite scroll to element products widget
- How can I resolve an error on WordPress after PHP update
- upload_mimes is getting ingored, how to add a new mime type?
- PHP FATAL ERROR
- Remove a specific sitemap from Sitemap_index.xml
- search by meta field in the regular WordPress admin panel search
- Show different page depending on user role
- Email notification when registred user clicks a link/visits page