Unwanted [raw][/raw] codes above image when block quote used in columns

pending (6 posts) (3 voices)

  1. Steven
    Member

    I'm helping a friend get his site up and going and recommended your excellent themes. I'm having a problem with unwanted [raw][/raw] codes appearing above images in certain circumstances.

    To reproduce the problem:
    1 make a page with a column layout (tested with half and third) such as your ABOUT US page
    2 place an image in the leftmost column (I haven't tested it in other columns)
    3 place a block quote anywhere on the page (inside a column or not).

    A pair of [raw][/raw] tags then appears over the image.

    No plugins are active.

    I read in the forums that this is sometimes associated with the Nuvo slider but, unfortunately, changing the homepage slider doesn't fix the problem.

    I haven't been able to test this in other themes as our own site still uses the old version of Awake.

    Posted 5 months ago #
  2. Elliott
    Support

    Hello Steven,

    Are you using the image_frame shortcode for the images? If so then open up /wp-content/themes/[your_theme]/lib/shortcodes/17-frames.php and change line 124 from this,

    return '[raw]' . $out . '[/raw]';

    To this,

    return $out;

    If that does not work then send us a link to your page so we can take a closer look.

    Posted 5 months ago #
  3. Steven
    Member

    Elliott

    I made the change (it was line 125 in my file but there was no doubt as to whether it was the correct line to change. Unfortunately, it caused the following error

    Fatal error: Cannot redeclare class mysiteFrames in /home/mindhack/public_html/wp-content/themes/method/lib/shortcodes/17-frames.php_ORIGINAL on line 5

    The page showing the problem is at http://findalocalcoach.com/?page_id=11

    Many thanks for your help. As always, excellent service.

    Posted 5 months ago #
  4. Elliott
    Support

    Hello Steven,

    Perhaps you edited the wrong file? It should be 17-frames.php not 17-frames.php_ORIGINAL, I wouldn't create any copies in the /lib/shortcodes/ folder because they will automatically be picked up and used in our framework.

    Posted 5 months ago #
  5. Steven
    Member

    Elliott

    Sometimes you must despair about the dumb things people do.

    Years of habit in saving the the original of an edited file in situ kicked in and, clearly, dropped a set of shutters over my eyes.

    Yes, your edit worked beautifully after I removed the renamed unedited version.

    Many thanks and apologies for missing the obvious.

    Posted 5 months ago #
  6. trivediu
    Member

    Hi Elliot, I'm getting a similiar problem with my portfolio shortcodes...I get a [raw] and [/raw] appearing. I have edited line 124 in

    /wp-content/themes/infocus/lib/shortcodes/17-frames.php

    and changed it from:

    return '[raw]' . $out . '[/raw]';

    To this,

    return $out;

    it still doesn't work, please advice.

    the page is "lessons and transcriptions' on my website

    http://www.udaytrivedi.net I have PMED you the pass and login earlier today.

    Posted 5 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme