Page content format

  • Unknown's avatar

    The format of my ‘add media’ items within my pages has changed. It used to look like the title I gave it in my word processing program (Example: Week 10 – Japanese Fuedalism). Now I am getting something different (Example: week-10-japanese-feudalism). Why? And how do I get it to look the way it did previously?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi,

    Page and image URLs derived from titles with multiple words will always have hyphens between the words. However, at the Insert Media module (WP Admin post or page editor) the title field that is given by default the image file extension, with the hyphens, can be edited to remove the hyphens, change initial letters to capitals, etc. Or it can be changed to something unrelated to the image file extension.

    Can you provide an example of a page URL that demonstrates what you are referring to?

  • Unknown's avatar
  • Unknown's avatar

    Thanks. Please identify what about that page is not what you’d expect.

  • Unknown's avatar

    Sorry for the delay. Teaching all morning….

    If you look at the entries on the top of the page they no dashes and they’ve kept my capital letters and such. These entries (documents) were all added in August. At the bottom, the entries I’ve made just in the last week, they are all lowercase with dashes in between. I don’t know what changed and if I can make them all look like the original ones from August or not. It’s not the end of the world if I can’t get them to look that way but if I can I want to.

  • Unknown's avatar

    At the bottom, the entries I’ve made just in the last week, they are all lowercase with dashes in between.

    Thanks. I hadn’t noticed them before, but I now see a couple of links which are formed differently at “Week 10 Stuff.” The basic text link code looks like this:
    <a href="link URL">link text</a>
    The two links in “Week 10 Stuff” that you refer to were made incorrectly, or at least differently, with the link text hyphenated. I’m not sure how it happened — perhaps it was copied from the link URL and pasted — but it can be fixed very easily. For example, the link week-10-lecture-the-common-man-the-100-yrs-war-blanks-pdf has the code
    <a href="https://angelainok.files.wordpress.com/2013/07/week-10-lecture-the-common-man-the-100-yrs-war-blanks-pdf1.pdf">week-10-lecture-the-common-man-the-100-yrs-war-blanks-pdf</a>
    In the HTML mode of the page editor, just change the link text to read what you want it to read. For example, after you edit the link text it might look like this:
    <a href="https://angelainok.files.wordpress.com/2013/07/week-10-lecture-the-common-man-the-100-yrs-war-blanks-pdf1.pdf">Week 10 Lecture -- The Common Man & The Hundred Years War</a>

  • Unknown's avatar

    You may substitute an em dash (—) for the double hyphen I used in the link text.

  • Unknown's avatar

    Excellent! That worked great – thank you!

  • Unknown's avatar

    Great! You’re welcome!

  • Unknown's avatar

    @ angelainok,

    Actually there’s another, perhaps easier, way to edit the link text that I forgot to mention.

    In visual mode of a My Sites post or page editor, highlight the link text. Then click the “Edit” icon (pencil). This will open up a popup where you may edit the link text and save the change.

    In the WP Admin post or page editor it’s slightly different. Clicking on the “Edit” icon as described above leads to a different popup with a Link options icon (gear). Clicking on the gear icon opens the “Insert/edit link” popup. There you can edit various aspects of the link and save your changes.

  • The topic ‘Page content format’ is closed to new replies.