Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #25456

    how do I make the portfolio post names, open in AJAX, NOT be links?

    Thanks!

    #127027

    Hi,

    Ahh .. a riddle. hmmm… this is a tough one. A portfolio post or a portfolio that post names, opens in AJAX and NOT be links …all at the same time. I give up. A clue please.

    Thanks,

    Nick

    #127028

    Hi Nick-

    when a portfolio post opens in AJAX, it shows the name. But clicking on the name just opens that same portfolio post by itself, with no AJAX. When using AJAX, this doesn’t make sense. We are using the AJAX portfolios as intros to more complete product page. So we don’t want the portfolio names to be linked at all. Make sense?

    For instance, clicking on this forst product, Edmark, opens the portfolio post in AJAX. but then we want them to click through to the product page by clicking the “More About Edmark Reading Program” button. We DON’T want them to be able to click on the post name “Edmark Reading Program” cause that just diverts them away from the directive, and simply opens the post again with no AJAX. No need, and bad UX.

    http://djdevelopment.net/3/reading/

    So I simply want to disable the link on the portfolio post name. Make sense?

    Thanks Nick~

    #127029

    Hi,

    Ahh. A url is worth a thousand words. Thanks.

    Please open up functions-replete.php and find lines 69-70 that look like

    echo "<div class='portfolio-entry one_third'>";
    echo avia_title(array('class'=>'portfolio-title', 'html' => "<div class='{class} title_container'><h1 class='main-title'>{title}</h1></div>"), $id);

    and replace them with the lines below

    $temp_title = "<div class='{class} title_container'><h1 class='main-title'>".the_title('','',false)."</h1></div>";
    echo "<div class='portfolio-entry one_third'>";
    echo avia_title(array('class'=>'portfolio-title', 'html' => $temp_title), $id);

    Thanks,

    Nick

    #127030

    excellent. Thanks Nick!

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

The topic ‘how do I make the portfolio post names, open in AJAX, NOT be links?’ is closed to new replies.