WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Trying to make portfolio title point to URL, not single-portfolio page

[Resolved] Trying to make portfolio title point to URL, not single-portfolio page

  • So here’s my page: http://tidclients.com/nestle/other-resources/

    Right now, the thumbnails for each portfolio item point to the correct URL but the titles of each port item point to this single-portfolio page that I have no use for since these aren’t actually portfolio items, they’re external sites. I just liked how this page laid out the links.

    Where and in which file do I change the php so that the titles of the items link to the same URL as the thumbnail?

    I have some limited expereince with PHP and I know HTML and CSS very well.
    Also have full access to the FTP through filezilla and text wrangler.

    thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Also, I’m using the “Modernize” theme by Good Layers

    Nevermind – figured it out 🙂

    in include/plugin/page-item.php
    I found this line:
    if( find_xml_value($item_xml, “show-title”) == “Yes” ){
    echo ‘<h2 class=”portfolio-thumbnail-title port-title-color gdl-title”>‘ . get_the_title() . ‘</h2>’;
    }

    and changed it to this:
    if( find_xml_value($item_xml, “show-title”) == “Yes” ){
    $website = get_post_meta( $post->ID, ‘post-option-website-url’, true);
    echo ‘<h2 class=”portfolio-thumbnail-title port-title-color gdl-title”>‘ . get_the_title() . ‘</h2>’;
    }

    and it worked like a charm 🙂
    -Kayden

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Trying to make portfolio title point to URL, not single-portfolio page’ is closed to new replies.