-
AuthorPosts
-
August 22, 2018 at 1:41 am #1000099
Hi.
I am trying to figure out how to move the “You might also like” section up a bit on the blog pages.
I was thinking either above “Share this entry” OR above the author. Does anyone know how?
August 22, 2018 at 2:23 am #1000103Hey robsdesigns,
I took a look at your page, and found that moving the related_posts box above the author-bio doesn’t work very well, but moving it above the share-box does. Try adding this code to the end of your functions.php file in Appearance > Editor:function move_related_posts(){ ?> <script> jQuery(window).load(function(){ jQuery( '.template-single-blog' ).each(function() { jQuery( this ).find( '.related_posts' ).insertBefore( jQuery(this).find('.av-share-box') ); }); }); </script> <?php } add_action('wp_footer', 'move_related_posts');
Then add this code in the General Styling > Quick CSS field:
#top.single-post .related_posts { padding-bottom: 0px !important; margin-bottom: 0px !important; }
See the Private Content area for a screenshot of the expected results.
Best regards,
MikeAugust 22, 2018 at 12:38 pm #1000272Hey Mike, that looks good but when I add the code in the functions.php file and click update… the site never truly saves and just says loading. Also when I try to access my site in another window the site does not load. Once I go back to the functions file and click the back arrow (so it doesnt save) my site is accessible again.
Any thoughts?
August 22, 2018 at 1:39 pm #1000310Hi,
This sounds like either a curly quote error, please ensure the quotes or commas are straight and not curly.
Or your functions.php is not saving, please try adding the function via ftp.
If this doesn’t help, please include a admin login and ftp access in the private content area so we can take a closer look.Best regards,
MikeAugust 22, 2018 at 2:42 pm #1000360Hi Mike, please see the private info below.
- This reply was modified 6 years, 3 months ago by robsdesigns.
August 23, 2018 at 1:51 am #1000555Hi,
I see that you are getting the error message that the functions.php will need to be edited via ftp
I also see that you are using version 3.5.4, but in my browser test of the css & script the function preforms as the screenshot shows, but I didn’t want to try installing a plugin to add the script to the header or footer just in case the site has a major error as you described above.
I recommend waiting until you can send us the ftp login, and then we will try to add this to your functions.php.
We will leave this thread open until we hear back from you.Best regards,
MikeAugust 23, 2018 at 3:12 am #1000565Hi Mike.
If you get a chance you can find the FTP info below.
Thank you!
- This reply was modified 6 years, 3 months ago by robsdesigns.
August 23, 2018 at 12:29 pm #1000705Hi,
Thank you for the ftp access, I added the function and the css, and tested a few posts which all seemed to work good.
Please review your site and let us know if you find any issues. If you find none and are satisfied, let us know that we can close this thread.Best regards,
MikeAugust 23, 2018 at 2:16 pm #1000741Mike, thank you so much!
August 23, 2018 at 2:33 pm #1000753Mike, sorry one last thing. I did not want to open another topic as it kind of goes along with it.
Is there a way on the sidebar blog pages to have the “You might also like” be displayed like the “Same category posts” do?
August 23, 2018 at 4:18 pm #1000812Hi robsdesigns,
Here is a thread for you to consider
https://kriesi.at/support/topic/change-the-text-of-you-might-also-like/If you need further assistance please let us know.
Best regards,
VictoriaAugust 23, 2018 at 4:44 pm #1000832Hi. I am not looking to change the text.. I am looking to actually have “You might also like” display in the sidebar like the “same category posts” does. I would of course remove same category posts if “You might also like” can display there.
August 23, 2018 at 5:48 pm #1000852Hi robsdesigns,
Well, you can add a text widget to the sidebar with whatever text you like. It can be done via Appearance > Widgets.
Best regards,
VictoriaAugust 23, 2018 at 6:08 pm #1000870Would you happen to know the code to add to the text widget to make them appear AND to make them look like how the same category posts does?
Sorry for all the questions. I appreciate your help.
August 24, 2018 at 11:44 am #1001144Hi robsdesigns,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaAugust 27, 2018 at 11:56 am #1002221Hi,
Please find info in private section.
Thank you!
August 27, 2018 at 4:03 pm #1002334Hi robsdesigns,
Best regards,
VictoriaAugust 27, 2018 at 4:36 pm #1002362Maybe I need to clarify what I was looking for a little better.
Currently I have the “same category posts” displaying in my sidebar:
I also have”You might also like” at the bottom of the page:
What I want: “You might also Like to appear (and LOOK like) where the “Same Category Posts” are:
I know I can put a “custom widget” in the sidebar. But I was wondering if someone at Kriesi can give me the code to enter in the area to make that happen.
August 29, 2018 at 8:26 am #1003026Hi,
This would require some time intensive code changes and customization which is beyond the scope of our support forum. I’d recommend to hire a developer/freelancer for this task.
Best regards,
Dude -
AuthorPosts
- You must be logged in to reply to this topic.