Carousel Horizontal Posts Content Slider
[resolved] Add custom URL link (3 posts)

  1. pelagic
    Posted 1 year ago #

    Hi , Great plugin.
    Is there any way to create a custom URL link for the posts, rather than the post url in WordPress. Would be something like

    $post_link = '';

    I'm using advanced custom fields for the custom link... so it would be something like
    $post_link = '<?php the_field('url_link')?>';

    Can anyone help? Many thx !


  2. pelagic
    Posted 1 year ago #

    Hi Sorry, this is now resolved.

    If you wanted to create a custom url, you would use.
    $post_link = get_field('url_link');

    The get_field('url_link'); is a custom field with the ACF plugin.

    Hope someone finds this useful

  3. Kelloh
    Posted 1 year ago #

    Sorry but im a new user and i can't find where you need to put this code
    in the carousel-horizontal-post-content-content-slider-pro.php i suppose but where exactly? im completely lost :s

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.