• Resolved krazykat_is

    (@krazykat_is)


    At least I think it should be simple. All I want is for the similar posts to show on the same line instead of as a list… So please, what in the heck do I put on the “output” settings page?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter krazykat_is

    (@krazykat_is)

    in other words, what do I do to <ul><li>{link}</li></ul>

    to have the links show as
    link 1, link 2, link 3, link 4

    instead of
    link 1
    link 2
    link 3
    link 4

    View the settings page for the plugin, click the second link along the top called “output” and change the settings in the first 3 fields..

    Adjust the first field to read..

    {link},

    And the second and third fields should have their values removed.

    Then save the changes..

    NOTE: That might have a side effect of leaving a trailing comma, but unfortunately that’s going to be the case without directly modifying the plugin.

    I needed to download two plugins in order to check this when you could of had this all figured out on your own if you simply looked through the settings page for the plugin… all the same, i hope that’s the answer you were looking for… ??

    Thread Starter krazykat_is

    (@krazykat_is)

    Ahhh, I actually tried that and it just put a comma after each one without changing the way they were listed, although I can’t remember if I cleared the other fields in the same attempt or at a different time, so I’ll try again…. I tried everything I could think of, but I know next to nothing about coding so I while I might understand the <li> and <ul> I don’t know {link} and I can only learn so much in a few hours, so going through the settings pages and spending 2 days searching google didn’t help.

    Thread Starter krazykat_is

    (@krazykat_is)

    ok, I followed your instructions exactly and it does like I said, leaves them in list format and just adds a comma after each one. I thought I had tried everything obvious before I posted, and I guess I was right. I left it like that so you could go see if you want. https://www.top-iphone-apps.info/?p=55

    could the group title template box on the output settings page help in this case?

    or maybe somehow it has to do with the language and .po files my server doesn’t allow (I doubt it, but maybe?)

    I really should of spent more time examining the plugin last time i tested..

    Try your config like this..
    https://t31os.files.wordpress.com/2010/11/similar-posts-config.jpg

    And should get the list as you’ve asked.. ??

    Thread Starter krazykat_is

    (@krazykat_is)

    This just adds a comma in front of the second one still leaving them in list format, I’m about to give up and settle for the list

    If you set the configuration as shown in the image it will appear how you’ve asked, i know this because i’ve tested it… (and it most certainly works as described)..

    The links appear like so..

    Link 1, Link 2, Link 3

    No trailing comma, no list, just a single line of links seperated by commas..

    Thread Starter krazykat_is

    (@krazykat_is)

    ok I think I’m going to have to give up…. did you set it to display after the post or did you add the <?php similar_posts(); ?> somewhere? If you did add it, where does it go? If not I’m stuck because https://yfrog.com/e3similarpostsoptionsp and https://yfrog.com/bcsimilarpostsnotworkingp. Of course you could check my page in case somehow my cache isn’t clearing or one of my firefox plugins is messing it up. https://www.top-iphone-apps.info/?p=44

    Or it could be my free hosting if anyone on ulmb.com wants to try this (heck only like one popup every 30 min, 5gb space 500gb month bandwidth…. just can’t upload certain types of files and no access to .htaccess or whatever it is, but it seems to me like it was a good deal)… if someone has an account there to try this and see if it’s a problem with the host….

    I left most settings on default, and made changes to the items shown in the existing screenshot.

    On your page(lined earlier) i can see there’s still a list element encompassing the links, did you put a list element around the similar_post() code you placed into your theme’s template? If so, remove it(since you’re no longer rendering it as a list).

    Thread Starter krazykat_is

    (@krazykat_is)

    nope, it just seems stuck like that….

    Thread Starter krazykat_is

    (@krazykat_is)

    ok that’s better, removing display after post option and adding <?php similar_posts(); ?> actually seems to work – thank you for telling me where it goes…. now the question is, how do I add spaces in the options to put room between stuff… screenshot of my options page now that I’m ALMOST happy… https://yfrog.com/bhsimilarpostsoptionsalmop I assume there must be a code like <br> that’s for spaces instead of lines

    Thread Starter krazykat_is

    (@krazykat_is)

    never mind… adding this to the end of my preceding text seemed to work &nbsp; although I’d be even happier if the comma was after the first link instead of before the second, but I can probably figure that out on my own

    Was just about to suggest just that… &nbsp; (Non-breaking space).. ??

    Glad to hear you’ve got it working as intended… ??

    Thread Starter krazykat_is

    (@krazykat_is)

    ok, changed the comma to a hyphen, added a space after it…. now I’m happy!!!! https://www.top-iphone-apps.info/?p=44

    For anyone reading this that’s confused, read the other half of this discussion at https://wordpress.stackexchange.com/questions/4217/similar-posts-formatting

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Simple question about Similar Posts plugin’ is closed to new replies.