Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter peteduignan

    (@peteduignan)

    Allen, (apologies, hope this looks better)

    Currently working thru an issue in my theme (I know you have nothing to do with that but my issue is coming from the actual data).

    I asked theme support about the link data being passed thru as I am getting the link plus the anchor text. I only want the link so I can use my own text.

    here is an example…

    <div class=”readMore”>” title=”<?php the_title(); ?>” rel=”nofollow”><?php _e(‘Read More…’,’mythemeshop’); ?></div>

    returns

    <div class=”readMore”>China growth data lifts Europe shares, oil and metals” rel=”nofollow”>Read More…</div>

    I want to use php-the_title as the url (without the text) and be able to go directly to the external post location.

    Theme support told me this info is being passed from the rss plugin.

    Is there a way for just the url to be passed thru?

    Plugin Author Allen

    (@amweiss98)

    here is what I see from what you posted….if it says

    <?php _e('Read More...','mythemeshop'); ?>

    that statement is from your theme, not my plugin (I know this because they have localization in their oode).

    Thread Starter peteduignan

    (@peteduignan)

    Yes even though it didn’t display like I wanted it, the code is entirely from the theme.

    What I am asking is about the data that is being passed thru, not how they are later massaging it.

    It has the external url and the anchor text in the link info.

    I was wondering if I could just get the external url only. Was thinking that this would be the way it is if it was the shortcode version of this data so you could create your own Read More” text.

    Hope I am making sense…

    Plugin Author Allen

    (@amweiss98)

    if you are using the autopost, you can go into any post and edit it to see what comes in from my plugin – anything else comes from the theme.

    Thread Starter peteduignan

    (@peteduignan)

    Ok thanks Allen. Was trying to keep it as automated as possible.

    I guess that is just 1 more good reason to use the shortcode and let your plugin handle all the formatting. LOL

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘beta – permalink and text’ is closed to new replies.