Help with sub pages titles – looking for either solution.

  • Gumbie

    #4606

    Hello,

    Reference to this page http://www.insiderugby.co.uk/blog/?page_id=198

    I am trying to change the writing in the ‘Mat Gilbert’ box – “Postion: Number 8/Blinside Flanker, Club: Scarlets, Age: 26, Height: 192cm, Weight: 112kg.”

    This writting is linked to what is on this page http://www.insiderugby.co.uk/blog/?page_id=142 – <p style=”display:none;”> Postion: Number 8/Blinside Flanker, Club: Scarlets, Age: 26, Height: 192cm, Weight: 112kg.</p>

    I would like one of two things to happen.

    EITHER – 1st – To have line breaks, like this

    Postion: Number 8/Blinside Flanker,

    Club: Scarlets,

    Age: 26,

    Height: 192cm,

    Weight: 112kg

    Which I have tried using the
    html code.

    Or

    2nd idea, is to have coloured text for the ‘Postion, Club, Age’ etc and keep it a line

    I have tried <p style=”display: none;”> <FONT COLOR=”#FF0000″> Postion: Number 8/Blinside Flanker,

    and

    <p style=”display:none;”><span style=”color:#fff;”>position</span></p>

    Any idea on how to do either, everything I have tried doesn’t work.

    Thanks

    Gumbie

    Mod

    Kenneth John Odle

    #28627

    You can insert a manual line break in the visual editor by hitting “shift” + “enter”.

    You can enter a manual line break in the html editor by inserting <br />

    If you are not having luck changing text colors, try Josh’s plugin:

    http://www.joshlobe.com/2011/10/ultimate-tinymce/

    <p style="display: none;"> means that the paragraph won’t display at all.

    Gumbie

    #28628

    Thanks for the reply, but this has not solved the problem.

    Please refer to the website links

    The blue box in the middle ‘Mat Gilbert – Postion: Number 8/Blinside Flanker, Club: Scarlets, Age: 26, Height: 192cm, Weight: 112kg. Download it here’

    http://www.insiderugby.co.uk/blog/?page_id=198

    That is controlled by what is typed on this page

    http://www.insiderugby.co.uk/blog/?page_id=1427

    It must be something in the CCS, Any coding done in the edit of http://www.insiderugby.co.uk/blog/?page_id=142 does not effect what is shown in the mentioned places on http://www.insiderugby.co.uk/blog/?page_id=198

    Mod

    Kenneth John Odle

    #28629

    Gotcha. The first page is an excerpt. (I didn’t look too closely at that, I guess.)

    It must be something in the CCS, Any coding done in the edit of http://www.insiderugby.co.uk/blog/?page_id=142

    No, it’s because what is on p. 142 is a link to a Google doc, and WordPress isn’t designed (so far as I know) to import the text from a Google doc along with its styling information. WordPress uses css to style text; Google Docs uses its own proprietary system. You’re not actually editing the other page; you’re editing a Google Doc.

    I guess the question is why you are doing it this way. Why not just enter the information directly into your blog?

    If you absolutely have to do it this way, you probably won’t be able to import styling information from a Google Doc.

    Gumbie

    #28630

    Thanks for your reply, It has nothing to do with the google doc,

    The excerpt is taken from the information hiden by the “display none” code, as I do not want to repeat what is written on the google doc. Do the excerpt is not being taken from the google doc

    However, the excerpt will not read HTML for colour changes or line breaks.

    While I could type the information straight into WP, it have about 90 powerpoint slides. Ideally I would have coverted it into HTML and copied it to WP, but I could not do it in Powerpoint 2010.

    If I find a 2007 powerpoint to convert the files into HTML, do you think you will be able to change the excerpts?

    Thanks

    Mod

    Kenneth John Odle

    #28631

    My head is still spinning…You include text that you want to appear on the excerpt, but not on the page, so you hide it with a display:none code, and then you include a link to a Google Doc because PP 2010 won’t convert the files to HTML. Wow.

    PP 2010 will save slides as a jpg, but I suppose you don’t want that because of the links.

    Use the “Custom Excerpt” feature to control what appears in your excerpt area. You can use html markup there. I added both a <span> and a <br> in a post excerpt; you can see it in action on my test blog: http://test.kjodle.net/blog/

    Go to Graphene Options >> Display Options >> Excerpts Display Options, and enter <span><br> in the box labeled “Retain these HTML tags in excerpts”.

    That might be good enough for you, and if so, then stop here and your problem is solved. However, if you really want that slide data on your blog, here’s an idea. This will probably be more work than just entering all that data (and if it seems like you’re spending a pound to save a penny, it’s because you are) but try this:

    Use OpenOffice (http://www.openoffice.org) to convert your PPX slides to HTML. (I tried this, and yes, it works. You will have to play around with the settings a bit, however.) OpenOffice is the open source alternative to MS Office. I don’t use MSO (which is an epically overpriced bundle of poo) at all, just OpenOffice. They are similar enough to one another that if you can use PPX, you can use OO Impress.

    Of course, you have 90 slides, so after about the tenth slide you might get really efficient at this and it will go more quickly than I thought it would. Keep us informed.

    Gumbie

    #28632

    You sir, are a genius! Thanks.

    I will now have a look at open office a report my findings

    Gumbie

    #28633

    Just another thing about the excerpt, On your test blog the words in the excerpt, are different from the blog post. While I use the display:none code, to hide the excerpt writing from the blog, how to I hide writting in the blog from the excerpt. For example, I don’t want “download it here” on the excerpt (copy below), and if I go down the open office route I would want to customise what goes in the excerpt.

    Postion: Number 8/Blinside Flanker,

    Club: Scarlets,

    Age: 26,

    Height: 192cm,

    Weight: 112kg. Download it here

    Thanks

    Gumbie

    #28634

    I downloaded openoffice, I couldn’t export as HTML, but have managed to export as PDF, and ended up with this

    http://www.insiderugby.co.uk/blog/?page_id=357

    Pretty happy with that, and the links work, just need to save them as ‘open in new window’

    Thanks for help on that.

    Looking forward to your reply on the excerpt stuff.

    Thanks

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!