Viewing 30 posts - 1 through 30 (of 32 total)
  • Author
    Posts
  • #554572

    I just noticed that some of the shortcodes I had are no longer working (on some pages).

    If you take the example link bellow as a reference, click on any of the pictures, it should load a box above where I have 3 columns division but these are not working, instead the shortcode is shown in raw as: [av_one_third first]

    Thanks!

    #555553

    Any updates here?

    #555748

    Hi,

    Could you please provide us with a temporary admin login so that we can take a closer look? You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #555755

    Hey Rikard, thank you for your reply. This is a live website and one I am very protective off, as such I am a bit hesitant to provide admin access but I am more than happy to follow your troubleshooting steps and comply with any instructions.

    I am a developer myself so I have no issues with digging through. To that end, I am providing some of the info I am certain you would like to have a look at in the private section.

    Thanks!

    • This reply was modified 8 years, 11 months ago by momon.
    #557488

    Hey!

    I checked link you have provided (private content), but can’t see any issues. Your website seems to work fine for me. Not sure what you mean and I think we need admin access, to be able to fully understand what’s it all about. Maybe you can copy this website to another for testing purposes.

    Best regards,
    Andy

    #557505

    Hey Andy, thank you.

    Please refer to the screenshot bellow. Take note that the shortcode for [av_one_third first] is not being processed and instead it is just outputting the shortcode itself. This is breaking the layout of what I have setup.

    Thank you.

    #557610

    Hey!

    based on your question here: https://kriesi.at/support/topic/enable-avia-layout-builder-on-custom-post-types/
    I am suspecting if there might be an issue on that, which makes the problem you dealing now.

    Is it possible for us, to login on your web site?

    Cheers!
    Basilis

    #557614

    That has no effect. I removed everything and even reverted to the original theme and also disabled all plugins. The problem is with the theme, it is not translating the shortcodes on the portfolio items specifically in the “Add Preview Text” field for each item. It does convert them correctly in the body of the page, just not on the “Add Preview Text” box that is available on each item.

    Thanks.

    #558785

    Hey!

    Try the following;
    – Disable all third party plugins
    – Enable the parent theme.
    – Create a test Portfolio item with simple texts within the Columns.

    Best regards,
    Josue

    #558791

    I did explain before (twice) that I have already tried that and even after updating the theme tried a second time.

    It makes no difference.

    #558792

    We’d need to check the site in order to debug it, if you can’t allow us access to the live site maybe you could create a staging version so we can run tests there.

    Regards,
    Josue

    #558793

    Try this on one of your demos so you can reproduce it:

    [av_one_third first]
    One Third Column
    [/av_one_third]
    [av_two_third]
    Two Thirds Column
    [/av_two_third]

    That should be on a porfolio entry, on the “Preview Text Box” at the bottom of the entry. This is the portion that shows up on the main gallery page when you click on an item.

    I’ve tried that on the parent theme with NO PLUGINS installed and nothing other than your theme enabled and it DOES NOT converts the shortcodes, it just outputs the shortcodes itself without processing. So in your demo it should result in the same, you could then troubleshoot further once you have confirmed the bug.

    Thanks!

    #558794

    Hi!

    Here’s what a i get on my local install – http://screencast.com/t/puLKLLHfib.

    Cheers!
    Josue

    #558795

    is that on 3.4.7?

    #558796

    Correct, it’s on the latest version of Enfold (3.4.7). Do you have PHP safe mode activated?

    Regards,
    Josue

    #558798

    php safe mode is disabled on the server.

    #558799

    One thing you can do is use the HTML version of columns:

    <div class='flex_column av_one_third first'>
    Content
    </div>
    <div class='flex_column av_one_third '>
    Content
    </div>

    Regards,
    Josue

    #558925

    Thank you. That seems like a viable alternative but sadly it would take me too long in adjusting all the portfolio entries one by one for this so I decided to disable the functionality.

    I still feel this is a bug, Im not sure if perhaps it is related to a recent update and my active php version (5.4) or what exactly is causing it but I have ruled out everything else.

    I have disabled all the plugins, I have removed all the themes except for the parent and the problem still happens, since I have nothing else under wordpress other than the main theme I am inclined to think the problem is with the theme. I wonder if in your test you are running wordpress 4.4 which is what I have and perhaps the issue is specific to this wordpress version?

    Thanks.

    #559125

    Hi!

    Yes, my install is running on WP 4.4, it would be ideal if you can set-up a test install in the same server so we can do some debugging and maybe find the culprit of the issue.

    Regards,
    Josue

    #559765

    Ok I was finally able to create a development website that I can provide login for.

    I have removed all plugins and activated the parent theme for you to test.

    #559846

    Hi!

    Thanks but i can’t edit the theme files, try the following, open /config-templatebuilder/avia-shortcodes/portfolio.php and look for line 724:

    $output .= $content;
    

    Change it to:

    $output .= do_shortcode($content);
    

    Best regards,
    Josue

    #560125

    That didn’t make a difference.

    I reverted the change back to original but have now enabled file editing in case you want to try out yourself. You should be able to edit within wordpress now. I have also given you ftp access bellow just in case

    #560809

    Hey!

    Check the first one “Test Portfolio Item”.

    Regards,
    Josue

    #560830

    Check that same sample again.

    Looks like the bug is related to using two thirds column.

    This DOES NOT WORK:

    [av_one_third first]Add Content here[/av_one_third]
    [av_two_third]Add Content here[/av_two_third]

    This DOES WORK:

    [av_one_third first]Add Content here[/av_one_third]
    [av_one_third]Add Content here[/av_one_third]
    [av_one_third]Add Content here[/av_one_third]
    #560837

    Well that makes sense, seems there must be three av_one_third in order to work (you can place an empty one at the end if you want to use two).

    Cheers!
    Josue

    #560856

    I’m not sure that makes sense at all (using an empty tag). I can use it as a work around but ideally it should work with only two (and it was working before, it only broke after an update). So would you confirm this is in fact a bug and escalate it for a future fix?

    Thanks.

    #560858

    In my install i’m using two av_one_third and they do render, so i’m not sure if it would be considered a bug but maybe something that happens on a specific server environment.

    Regards,
    Josue

    #560860

    Right-o and I appreciate your help here, but I’ve given you full access to the server, you can see the only thing installed and active is the parent theme and nothing else. I’m happy to tweak whatever server settings you believe are causing this but I don’t think that’s the case.

    I’m running php 5.4 if that’s relevant but can easily switch to any other php version.

    I just want an appropriate solution because going back to edit ALL of my portfolio items is not really an option and adding an empty tag is not precisely a professional solution here.

    Cheers,
    Jose R. Lopez

    #560889

    With all honesty this can continue for weeks until we find the real culprit, and that’s neither convenient to you or us. I’d suggest sticking to the fix of adding an extra tag. Another quicker solution could be doing a search (in the DB) and replacing all av_one_third with av_one_half and then modifying the widths with CSS so they resemble av_third_one.

    I’ll provide you the SQL query to do the replace on the preview meta field now:

    UPDATE wp_postmeta SET meta_value = replace(meta_value, 'av_one_third', 'av_one_half') WHERE meta_key = '_preview_text'
    

    Regards,
    Josue

    • This reply was modified 8 years, 10 months ago by Josue.
    #560937

    I appreciae the help Jossue, I still want to try and get to the bottom of this.

    I have tested every php version (default install) from php 5.2 to php 5.6. Everything yields the same result. So I went ahead and tested the exact same install on a completely different server of mine with a default easyapache build of php and had the exact same results.

    Can you tell me the exact php version you have installed where you said you tested my code and it worked correctly for you? And if you can provide the php.ini I can replicate your exact same setup, that would allow us to see if the bug is related to my environment or a theme bug since you are still on the fence.

Viewing 30 posts - 1 through 30 (of 32 total)
  • The topic ‘Shortcodes not working’ is closed to new replies.