• Resolved leegold

    (@leegold)


    Hi, ver.Version 5.4.2 on WAMP localhost server. Using Jetpack 8.6.1

    Portfolios seem to work OK even though not online with my site. Let me describe problem: I have a portfolio project with content:

     <p>bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</p>
     <p>hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh</p>
     <p><a href="https://www.yahoo.com">yahoo</a></p>
     <p>bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</p>

    I have a page with content:

    [portfolio display_types=false display_tags=false columns=1 showposts=4 orderby=title include_type=test1]

    The problem is when I look at it on a browser the link is only text and of course in the generated source code HTML it’s also only text, so the hyperlink to Yahoo is only text – no "<a>"…it’s stripped out, no link. What I see in browser:

    linktest1
    bbbbbbbbbbbbbbbbbbbbbbbbbbbbbb hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh yahoo bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb

    This only happens with a page content from the shortcode. Is there a fix?
    Thanks.

    • This topic was modified 4 years, 8 months ago by leegold.
    • This topic was modified 4 years, 8 months ago by leegold.
    • This topic was modified 4 years, 8 months ago by leegold.
    • This topic was modified 4 years, 8 months ago by leegold.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support fresatomica

    (@fresatomica)

    Hi,

    how have you added the content to the portfolio page? Was it created as HTML directly? The link does not appear on the page itself or just on the excerpt?

    What is the URL of your site?

    Also, here is some more information about the portfolio shortcode, in case you need it: https://wordpress.com/support/portfolios/portfolio-shortcode/

    Thread Starter leegold

    (@leegold)

    how have you added the content to the portfolio page?

    By editing with Classic Editor plugin with TinyMCE Advanced plugin. The content of the Portfolio is exactly as it appears in my post above in text mode and the visual mode shows the link as expected. The page is edited same way and Shortcode content is cited above in my original post. AFAIK there’s nothing unusual – routine editing and content.

    it created as HTML directly?

    is was created as I cited, routine editing, verifying in both Visual and Text modes of the editor. Other non-portfolio non-shortcode pages show hyperlinks fine.

    The link does not appear on the page itself or just on the excerpt?

    There’s no excerpt I’ve used or seen, I make a portfolio project put the resulting Shortcode in a page and the link is stripped-out with only link text remaining.

    What is the URL of your site?

    As cited, Version 5.4.2 on WAMP localhost server. Using Jetpack 8.6.1

    Thread Starter leegold

    (@leegold)

    Should also mention I’m using a child theme of 2017

    Plugin Contributor James Huff

    (@macmanx)

    Does the issue continue under the unmodified 2017 parent theme?

    Thread Starter leegold

    (@leegold)

    I checked it with a couple of different themes and I also tried it with FF’s View->Page Style->No Style to turn CSS off and all the same – no working link just the text “Yahoo”. I tried with different browsers, on my Android phone, again no hyperlink. You’ve confirmed that it should normally work? I mean links will normally render OK within portfolio content? And OK with a localhost server like WAMP? I’m willing to trouble shoot more.

    Note: It works OK, If from my admin dashboard I go into editing for linktest1 project and then do “Preview Changes”, then the link is functional and OK. But if I go to the page via it’s permalink – just normally through the browser then it does not work and I have the issue I’m reporting here.

    it works:

    https://192.168.1.100:81/bebopsante/portfolio/linktest1/?preview_id=696&preview_nonce=fe9514c9fb&_thumbnail_id=-1&preview=true

    It does not work:

    https://localhost:81/bebopsante/linktest1/

    • This reply was modified 4 years, 8 months ago by leegold.
    • This reply was modified 4 years, 8 months ago by leegold.
    • This reply was modified 4 years, 8 months ago by leegold.
    • This reply was modified 4 years, 8 months ago by leegold.
    Plugin Contributor James Huff

    (@macmanx)

    Links are indeed supposed to normally render in portforlio content.

    Are you able to test this on a live site?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Portfolio Projects Not Allowing Hyperlink on Page’ is closed to new replies.