Home Forums Weaver Xtreme Theme Show Feed Shortcode – Bug? Typo? User?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #17864
    Skippy
    Participant

    I’m attempting to use the [feed] shortcord.

    If I do this, it works.

    [feed feed='https://drestanol.wordpress.com/feed/' items=3 show_sitename=0 show_content=0 excerpt=1 trusted=1 title_style='']

    When I try to add font-size to the title_style all the content on the page under the menu vanishes.

    The plus-help file says this:


    1. title_style=’inline-style-rules’ – Allows you to
      change the styling of the post title. Don’t include the ‘style=’ or
      wrapping quotation marks. Do include a ‘;’ at the end of each rule.
      The output will look like style="your-rules;" – using
      double quotation marks. This is most likely useful to reduce the
      title size (e.g., style='font-size=100%;')

    Example

    To show the WP Weaver Theme feed in a regular page, use:

    [feed feed='http://weavertheme.com/feed/' trusted=1
    title_style='font-size:110%;']


    In one place I’m seeing the format is 

    ‘font-size:110%;’

    in another place I see this

    'font-size=100%;'

    I have tried both formats and both result in the page being broken.

    Things that don't work are:

    [feed feed='https://drestanol.wordpress.com/feed/' items=3 show_sitename=0 show_content=0 excerpt=1 trusted=1 title_style='font-size=100%;']

    [feed feed='https://drestanol.wordpress.com/feed/' items=3 show_sitename=0 show_content=0 excerpt=1 trusted=1 title_style='font-size:100%;']

    What am I missing here?  Thanks.

    #22538
    Weaver
    Keymaster

    @Skippy

    Well – that’s all my fault! And you must be the first person to try that! There was a misnamed function from the conversion from Weaver II to Weaver Xtreme, and you were getting PHP error crash.

    The proper syntax is title_style=”font-size:120%;”. Shortcodes use = to specify option values.

    I will update Weaver Xtreme Plus shortly.

    EDIT: The 1.2.2 version should show up in your WP Update notices soon.

    #22539
    Skippy
    Participant

    Great. Thanks. I’ll be looking for the update.

    How complex is it to add displaying featured images to this shortcode?  Would that be possible?

    #22540
    Weaver
    Keymaster

    The content of the [feed] shortcode comes from the content of the feed itself. The content is provided by a standard WordPress core function. The [feed] can just show the feed “description” which is generated by the WordPress core – the excerpt may or may not be really short, so the ‘excerpt’ option forces it to be short.

    There also is a feed “content” which may or may not be longer and may or may not include images depending the the Settings : Feed options.

    I will add a new option to [feed] that will allow the full content to be displayed, but it can be only an all or nothing thing – either the description/excerpt, or the full content of each post.

    If you’d like to try this new ‘full_content=1’ option for the shortcode, send me an e-mail directly (weaver at weavertheme dot com), and I will send you the new version to try.

    #22541
    Skippy
    Participant

    Sure, I’ll test it out.  I’ll try anything twice.

    Thank you.

    I’ll email you soonish….

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.