Hi all

Here is a simple tip to insert a "You Might Be Interested In ... " (call it whatever you like really) section at the bottom of all blog posts, sort of like we have Related Videos on the video module.

Here's how it looks:

What does it do? It pulls in the middle column modules from the blog page, e.g. Latest Blog Posts, Most Popular Blog Posts etc. In the example above it is pulling in the Latest Featured Blogs from the Featured blog posts page.

How to install it:

  • Add this script to your Custom Code box (also attached as a text file):
<!-- SP You Might Be Interested In -->
<script type="text/javascript">

x$(document).ready(function() {
x$('.xg_widget_profiles_blog_show .xg_module_with_dialog').append('<h2 class="interested">You Might Be Interested In ... </h2><div id="SPmoreblogs"></div>');
x$('.xg_widget_profiles_blog_show .xg_module_with_dialog #SPmoreblogs').load('/profiles/blog/list?promoted=1 .xg_widget_profiles_blog_list .xg_column.xg_span-4.xg_last .xg_module:contains("Latest Featured Blog Posts")');

The script looks for modules with certain headings on certain pages, so you can change the highlighted items to suit your needs.

  1. If you want the 'You Might Be Interested In ... ' to say something else then change the orange You Might Be Interested In ...
  2. If you want to load a module from the All Blogs page (rather than the Featured Blogs Page as I am using) then change /profiles/blog/list?promoted=1 to /profiles/blog/list
  3. If you want to load a box other than Latest Featured Blog Posts change it to whatever you want, e.g. Most Popular Blog Posts


  • Add this CSS to your Advanced CSS section in Design Studio, tweaking the bits that you need to

/*You might be interested font*/


/*List items*/
#SPmoreblogs li {

background: #F9F9F9;
border: 1px solid #E4E4E4;
display: block;
float: left;
margin-right: 3px;
min-height: 58px;
padding: 5px;
width: 168px;

/*Removes border from module*/
#SPmoreblogs .xg_module{

/*Removes module header*/
#SPmoreblogs .xg_module_head{

I hope this is of use. YOu can check out a live demo here.

ps. this is for blogs only for now. Not had time to do the forum. Might get round to it at some point if no one else hacks it in the meantime.

Tags: Professional Ning Design, Related Items, You might be Interested in

Views: 1491


Reply to This

Replies to This Discussion

Another neat and clean tip. Thanks for sharing it SP.


Awesome Sp! thanks for sharing!! is it possible to use this trick on photos SP?

possibly, I might get round to it at some point, but not at the moment.


Ok i will try if i can get this right, please let me know if you get it right on photos :) thanks SP!

Hey Mat, it would be really really cool to have this for friends! You may be interested in...and then it shows 3-4 members on random! This I would actually pay for if someone could tweak this

if no one comes up with a hack then pm me next week :-)

Not tried to be honest. Might eventually ;-)


Many thanks,


you're welcome Jords


great script SP! I was reading a lot of your old tricks last night thinking it's time for another SP tip! 

Great minds, Armani, great minds


What's Up With Ning 3.0?

Click here to share your thoughts on what features we should develop next! - Survey will close Friday, 4/25

Projects that the Ning 3.0 Team is currently working on: 

Articles - a new way of organizing longer content pieces. Released 4/16.

Activity Feed Updates - options for more content in the activity feed.

Forum Notifications - ability for members to opt into receiving notifications of new discussions in forums. Released 4/9. 

APIs - The ability to create new members and content programatically.

For more information on what's next, visit the Product Roadmap

Latest Activity

Kos replied to Enrrico Torres's discussion 'how to reduce the http request'
1 hour ago
George H. Compton IV replied to Enrrico Torres's discussion 'Please help to create a slider'
"Replace just the CSS stylesheet with this one. I think I have it all worked out for…"
2 hours ago
Elshara Silverheart replied to Shruti Shah's discussion 'Sign up problem'
"I seen that somewhere two on another site, not sure what it means."
2 hours ago
Fondazione ISTUD is now a member of Creators
2 hours ago
Elshara Silverheart replied to György Juhász's discussion 'Language editor issues'
"Hey, good idea! I know in Ning 2.0 the most recent translations were on the last pages of the site…"
2 hours ago
Elshara Silverheart replied to György Juhász's discussion 'Language editor issues'
"I've never heard of that happening before. Essentially you're having problems translating…"
3 hours ago
Elshara Silverheart replied to György Juhász's discussion 'Language editor issues'
"Sometimes I can't get formatting to work right when editing certain boxes."
3 hours ago
Elshara Silverheart replied to francesco pillinini's discussion '3rd Party Integration > Facebook'
"It's under general app settings on your facebook app its a checkbox you need to uncheck it if…"
3 hours ago

© 2014   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service