• Resolved speedwrap1

    (@speedwrap1)


    Before upgrading to Storefront, I was using a child theme of Highend. In that theme, I had an accordion style menu on the left sidebar with various links to my site PDFs. But now in Storefront, when I open the pages (Technical Information, Orders and Returns, and Shipping Information) nothing shows up but php code. This also appears in my Contact Us (https://speedwrap.com/contact-us/) page when I try to display a list of contact info. What do I need to change in order to display the actual content?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • linux4me2

    (@linux4me2)

    This stuff:

    
    [accordion_group]
    [accordion_item icon=”hb-moon-info” title=”Speed Wrap® ESi”]
    [list type=”icon”]
    [list_item icon=”hb-moon-file-pdf” color=”#ff6838″]Speed Wrap® ESi data sheet[/list_item]
    
    [list_item icon=”hb-moon-file-pdf” color=”#ff6838″]Speed Wrap® ESi Safety Data Sheet[/list_item]
    [list_item icon=”hb-moon-file-pdf” color=”#ff6838″]Speed Wrap® ESi to ES comparison[/list_item]
    [/list]
    [/accordion_item]
    

    isn’t PHP, it’s shortcodes from a plugin or maybe a theme extension you had with Highend that you no longer have with Storefront, so only the shortcodes themselves are displaying rather than the HTML output that you intend.

    Thread Starter speedwrap1

    (@speedwrap1)

    I’m assuming I should remove the bad code from the page then. Is there a way to keep the accordion style menu once I delete the code? Or should I just redesign using lists?

    linux4me2

    (@linux4me2)

    It’s not really “bad” code, they’re just shortcodes that would ordinarily display the nice accordion features you had before, but because you’re missing a plugin or extension, they just display the shortcode; there’s nothing to process them, so they just display.

    There may be some plugins that give you accordion functionality, but jquery-accordion is actually available through WordPress, so you can add jQuery Accordion if you enqueue the appropriate scripts (jquery, jquery-ui-core, and jquery-ui-accordion), add the jQuery code to tell the browser what to “accordionize” and then add the appropriate classes to the sections of your content.

    There are lots of options.

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

The topic ‘Storefront issues with internal links’ is closed to new replies.