Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1132524

    Hello, how can I get page numbers also on top of the page and not only at the bottom?

    #1133781

    Hey Henk,

    Which page numbers are you referring to? I am not seeing any here.

    Could you please attach some screenshots of the issue and please specify the page where is it happening.

    Best regards,
    Victoria

    #1134487

    Hello Victoria,
    If a subject exist out of more than 1 page, at the bottom of the page appears 1 2 3 …..
    When the page is very long it would be better if this page numbers would be also at the top (before the text). Is that possible?

    Best regards,
    Henk

    #1135391

    Hi Henk,

    Here is the code you can put in your funtions.php to the aabeve website

    
    function move_pagination_top() {
    ?>
    	<script type="text/javascript">
    		(function($) {
    			$(window).load(function() {
    				$('.pagination-wrap.pagination-slider').clone().prependTo("#after_section_1 .post-entry.post-entry-type-page.post-entry-19007");
    				});
    			})(jQuery);
    	</script>
    <?php
    }
    add_action('wp_footer', 'move_pagination_top');
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1135399

    Hello Victoria,
    Thank you for the code.
    However I got the following error message when I enter this in the functions.php:

    “Your PHP changes have been reversed due to an error on line 2462 in the wp-content / themes / enfold / functions-enfold.php file. Repair and try again”
    syntax error, unexpected “?”

    Also I see in the code “move_pagination_top”. Does this mean, that the page numbers are appearing only at the top then? Due to the the big number of entries I like to have the page number on top AND at the bottom of the page if that’s possible.

    Best regards,
    Henk

    #1136178

    Hi Henk,

    It is better to use a child theme to add this code in the functions.php there and if it does not work through the editor, you’ll need to edit the files via FTP.

    Here are the docs for you

    Best regards,
    Victoria

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.