Move pagination buttons

Posted in: Newspaper
Post count: 23

I was wondering if it is possible to move the pagination buttons to below the social sharing box?

I saw it in loops-single.php so I tried moving it like this:-

<?php echo $td_mod_single->get_social_sharing_bottom();?> <— moved here
<?php echo $td_mod_single->get_post_pagination();?>
<?php echo $td_mod_single->get_review();?>

Which didn’t seem to do anything.

It seems the post pagination appears inside the content itself and not in the <footer> (so I am not sure what the get_post_pagination above does).

If it’s not possible/easy is there a way to add the social sharing box into a post manually like how you can do it with a custom ad. If so what would be the code?

p.s. I am using Theia Post Slider, not smart lists for pagination.

Post count: 20688

Hi,

To change the structure of the post template, you must edit the loop single file corresponding to the post template you are using. The default post pagination is part of the footer section in the post – https://www.screencast.com/t/Ml35zAkIIE You could move the social sharing right after the post content by rearranging the code – https://www.screencast.com/t/ytqeeEb4sZEThttps://www.screencast.com/t/sBI4I8aKxwihttps://www.screencast.com/t/4EoqRETSToix Just remember to edit the loop single file related to your post template style. Please correct me if I misunderstood the question.

Thanks

Post count: 23

Hey Simon,

Many thanks for that.

I was probably not very clear on what I was looking for in my description of the issue.

I don’t mean about pagination between posts, but between pages in a list/smartlist within a post.

What I need to do is move the social buttons below the pagination within a post (e.g. Smartlist) so that the next buttons to the next page within the list appear below the social buttons). At the moment it seems like the pagination for the lists seems to be within the content though and I can’t work out how to move it as it doesn’t appear in the loop file.

Thanks for trying though.

Post count: 20688

Hi,

Sorry for misunderstanding, I know what you are trying to achieve now, but I don’t think it would be an easy task to integrate the social sharing in the smart list structure. The smart list files are located in the theme folder->includes->smart_lists but please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry.

Thank you for understanding

Post count: 23

Ah ok. Is it then possible to to add the social sharing box into each post manually like how you can do it with a custom ad. If so what would be the code?

Post count: 23

Also, how do I change the layout of the responsive default template for mobile (rather than the mobile version)?

Post count: 20688

Hi,

Unfortunately I do not think that is possible. However you can try experimenting with this code, this is where the sharing for the post is generated – https://www.screencast.com/t/zJEhl8NgM3h you could integrate the code in the smart list template file you are using like in this example -https://www.screencast.com/t/ZjpwBa2Q7T and then further customizing the positioning and other properties using css – https://www.screencast.com/t/tBMBsK8InMr but I do not know if this will work properly as it was not meant to display this way.
If you are not using the mobile theme plugin which comes with a predefined style, then it will display the same elements used to create the page on desktop, so what you see on desktop you will see on mobile using the theme’s responsiveness. More about this here in the documentation – https://forum.tagdiv.com/the-mobile-theme/

Thanks

Post count: 23

What I mean is, if I want to add a custom ad into a single post I just go in and put this code into the actual post body [vc_row][vc_column][td_block_ad_box spot_id="custom_ad_2"][/vc_column][/vc_row]

The question is, is there a way to do this for the social share box e.g. something like [vc_row][vc_column][td_block_social_share_box][/vc_column][/vc_row]?

Sorry for the confusion.

Post count: 23

Also regarding the mobile responsive theme (standard), I wanted to know how to change the layout of the themes responsiveness. I know how to do it for the mobile theme plugin.

Post count: 20688

Hi,

You can use the shortcodes only for the elements available in the Visual composer editor – https://www.screencast.com/t/yWZXnU2N and even then it could produce unexpected results and problems in some cases. About the mobile responsiveness, it is defined in the theme’s css file – https://www.screencast.com/t/NiCnaubFun but if you want to make changes on a specific device you can enter your code in Theme panel->Advanced Css – https://www.screencast.com/t/KDRq0MzPimg

Thanks

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.