Support » Plugin: Connections Business Directory » [Plugin: Connections] How do you mask the Website URL?

  • Resolved Jeff Mann

    (@jeffreybmann)


    I would like to mask the URL to the website of someone’s profile. Currently there is only the option, typing in the full URL into the website field, including http:// and calling it using:
    <?php echo $entry->getWebsiteBlock() ?>
    It appears as so: “Website: Http:// FULL URL LINK”

    I’ve tried the following:
    <a href="<?php echo $entry->getWebsiteBlock() ?>">MASK HERE</a>
    and
    <a href="<?php echo $entry->getWebsites() ?>">MASK HERE</a>
    but neither worked. the first just displayed ‘array’, and the second one broke the site.

    Any help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author shazahm1

    (@shazahm1hotmailcom)

    $entry->getWebsites() is an array of objects you need to loop thru them. Take a look at the code in $entry->getWebsiteBlock() as an example.

    I am busy trying out SEO Ultimate and that has a masking feature for links within posts.

    SEO Ultimate really has some very neat features and so far so good – it is doing what I was looking for, Title Tag and Meta Descriptions that are being duplicated, found in Webmaster Tools.

    New to Link Masks so a bit cautious on how to implement, but this may be the answer to your problems.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Connections] How do you mask the Website URL?’ is closed to new replies.