Connections Business Directory
[Plugin: Connections] How do you mask the Website URL? (3 posts)

  1. Jeff Mann
    Posted 5 years ago #

    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>
    <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?

  2. shazahm1
    Plugin Author

    Posted 5 years ago #

    $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.

  3. Joan1911
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Connections Business Directory
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic