Support Forum

Display 'Mentions' vertically

ST Sarah Romero Tortosa
Sarah Romero Tortosa
Member

 Is it possible to display ‘Mentions’ vertically and not horizontally?

 

Thanks!!!

11 Answers

New Answer

CA Carlos
Carlos
Member

Hi Sarah! why would you like to show the mentions on that way? just curiosity!!!

( Sarah porque te interesa poner las menciones así? sólo es curiosidad!)

 

 

MP Mr Papa
Mr Papa
Member

yeah, not even sure what a vertically listed set of mentions would look like in the middle of your post content….  can you elaborate?

ST Sarah Romero Tortosa
Sarah Romero Tortosa
Member

Lets me explain with a couple of screenshots :)

This is what I have:

http://i40.tinypic.com/2mg5cg7.png

 

This is what I want:

http://i41.tinypic.com/2nq8phw.png

 

MP Mr Papa
Mr Papa
Member

how are you generating those??   we have been talking about the mentions in the post… that looks like perhaps the template tag for a specific user’s latest mentions…  which is not styled, so you can add your own styling…

of course, with a link instead of an image, we could probably recommend some styling…

ST Sarah Romero Tortosa
Sarah Romero Tortosa
Member

Hi again , im using this php code:

<?php sp_MentionsYourLatestTag(
‘itemOrder=FTAUD&&limit=10&afterDate=<hr/>’
);?>
 
I want is that mentions to be displayed vertically. Do i need to modify the CSS to accomplish that?.
 
Thank you. 
MP Mr Papa
Mr Papa
Member

please use the code button when highlighting code…  paste in your code, highlight it (ie select) and then use the code button so formatting and things are maintained… the button looks like ${}

MP Mr Papa
Mr Papa
Member

and so yeah, you are not referring to post content as previously discussed.. but instead a template function…

and as mentioned, really need a link to the site, not an image.. so we can look at the generated markup and recommend style changes (if possible) for what you want…

ST Sarah Romero Tortosa
Sarah Romero Tortosa
Member

Im trying again…

 

<?php sp_MentionsYourLatestTag(‘itemOrder=FTAUD&&limit=10&afterDate=<hr/>’);?>

 

This is my forum page:

http://laflecha.net/comunidad/forum/

MP Mr Papa
Mr Papa
Member

First, your forum is displaying twice… go to forum – integration – page and permalink and play with the options there, namely display multiple and display in loop…

no worries, as its readable now, but still missing the code button…

<?php sp_MentionsYourLatestTag('itemOrder=FTAUD&&limit=10&afterDate=<hr/>');?>

and sorry, forgot that tag is user based, so as a guest, I cannot see them…  so cannot what if the css…  I will have to set up a test site to generate that so I can play around…

ST Sarah Romero Tortosa
Sarah Romero Tortosa
Member

Hello again.

I’ve created you a new user in order to see by your own how Mentions displays at forum:

User: Test

Password: testlflf

Forum url: http://laflecha.net/comunidad/forum/

 

Thanks!

MP Mr Papa
Mr Papa
Member

so in your wp theme (since sp theme is not loaded), add this css:

li.spListItemTag {
  float: left;
  padding-left: 20px;
}

think that will give you what you want…