Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

style eMember "read more" link correctly for protected posts

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Troubleshooting › style eMember "read more" link correctly for protected posts

Tagged: css, customization, read more

  • This topic has 5 replies, 2 voices, and was last updated 8 years, 6 months ago by ramona.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 27, 2014 at 7:51 am #11364
    ramona
    Participant

    For protected content by eMember the systems shows the ‘read more’ link not correct.

    In the ger.pgp language file I have translated it:

    define("EMEMBER_MORE_LINK"," weiterlesen");

    If a post is protected, eMember overwrites the theme’s translation “Weiterlesen”.

    The child theme styling is

    .read-more:after {
    content: 'f101'; display: inline-block; font-family: 'FontAwesome'; padding-left:0.3rem;
    }

    For protected posts the system shows ” ยป” twice.

    See [http://www.hapkemedia.com/blog/]

    How can I style it correctly for protected posts? A hint would be fine, thanks.

    August 28, 2014 at 3:49 am #65175
    admin
    Keymaster

    I have applied a fix for this read more protection issue. Please check the update I sent to your email.

    September 1, 2014 at 6:53 pm #65176
    ramona
    Participant

    If have implemented it:

    define("EMEMBER_MORE_LINK","<span class='read-more'>Continue reading</span>");

    But now another problem occurs, as you can see here:

    [http://www.hapkemedia.com/kategorie/internet/]

    Some of the more links are displayed twice.

    I cannot find the error. When I delete the span, the more link is not styled well but is displayed one time.

    September 2, 2014 at 3:34 am #65177
    admin
    Keymaster

    Hi, Use a different class name that your theme is already not using. For example, use something like the following to make it specific for you:

    define("EMEMBER_MORE_LINK","<span class='my-custom-more-text'>Continue reading</span>");

    September 4, 2014 at 7:37 am #65178
    ramona
    Participant

    Great, it works. I need not define :after.

    September 16, 2014 at 7:50 am #65179
    ramona
    Participant

    Solution was more than tricky:

    a > span.read-more:after {

    content: “”;

    }

    define(“EMEMBER_MORE_LINK”,”<span class=”read-more”>weiterlesen …</span>”);

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • WP PDF Stamper Documentation
  • WP Photo Seller Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ