Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1413853

    Hi guys (and Mike)
    We discussed using a custom field type in the post slider element here –
    https://kriesi.at/support/topic/using-a-custom-field-type-on-pages-in-post-slider-element/ – (which is now closed)

    I have just spotted a small issue.

    Modifying postslider.php to get the excerpt to pull through a custom field into postsliders where available works well, except I need the excerpt to carry the permalink of the post too.

    If you visit https://owe.brother.design/, you’ll see there are three tiles created using this method – “Benefits, Vision and Local Character”. Each of their respective “alternative headline” generated from the custom field type should have a link to the respective page/post.

    Do you have any ideas on how I can tweak this?

    Dominic

    #1413854

    Just checking email notifications…

    #1413858

    No worries, I sussed it!

    $excerpt = '<a href="' . $link . '"> '. $meta_value .' </a>';

    #1413958

    Hi,

    Great, I’m glad that you managed to solve your problem. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.