• anymvs

    (@anymvs)


    I was wondering if there is a way to put a function link into a page to recognize the current link of the page and change it ?

    example:

    when visitors join at

    http://www.domain.com/about

    they see
    {some text}
    read more… <——- In this link I want to create a function to place a “#” in-front of the actual link —- so the new link will be…
    http://www.domain.com/#about so Basically this function will automatically identify the page (in this situation about page) and then it will add a “#” in-front of the page

    I want that because each page is separated from the whole theme…
    I have multiple pages, but wordpress loads all contain from all pages in different flip page! theme is a flip book

    the current function for home is below

    <p class="backtohome"><a>" class="btn"><i class="fa fa-home"></i> <?php _e('Read More','Read More');?></a></p>

    Let me know if someone has an idea 🙂
    Thanks

The topic ‘url Function links’ is closed to new replies.