Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » eCommerce & Atahualpa »

[SOLVED] Having shortcode issues, where in Ata should I look


  #1  
Old Feb 10, 2011, 07:10 PM
mad_science
 
15 posts · Mar 2010
I'm attempting to get the e-commerce plugin e-shop up and running, but it seems none of the shortcodes it uses are working.

Between my searching regarding e-shop in the WP forums, as well as the discussions regarding how shortcodes are defined, I think I need to define the shortcodes used by the plugin in the index.php template.

See:
http://quirm.net/wiki/eshop/shortcodes/
http://codex.wordpress.org/Pages_Add...icular_Page.3F
http://codex.wordpress.org/Shortcode_API
http://codex.wordpress.org/Function_...e/do_shortcode

The default WP theme uses page.php for pages, but Atahualpa uses index.php. I suspect the plugin looked for/modified page.php, which is why they aren't working.

I know it's not the purpose of this forum to support other products, but this is the only place I can get the Atahualpa-specific stuff. Thanks in advance.

...but I really don't know what I'm doing, just what I've read.
  #2  
Old Feb 10, 2011, 07:28 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version of atahualpa, wp and e-shop?
What is the URL?
Are all the e-shop pages set up?
What short code and where are you putting it?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 11, 2011, 12:27 AM
mad_science
 
15 posts · Mar 2010
Ata 3.5.3
WP 3.0.4
e-shop 6.2.2

Never mind on the mystery shortcodes, though.

The problem was one of page hierarchy and pages being published.

In order for the [eshop_list_subpages] shortcode to work, a page has to have children (hence, sub-pages).

You can only select published (not draft or privately published) pages from the "Select Parent" menu in the page editing options, which is makes building out a store a bit tricky on a live site, as you're stuck publishing things that aren't actually ready.

The workaround I have for now is adding the page IDs to the Ata page menu exclude list. They're technically "published", just not displayed in the only menu to get to them. Unfortunately, children of a non-displayed page will still show up in the menu if not specifically excluded as well. Any workaround for that?
  #4  
Old Feb 11, 2011, 12:40 AM
mad_science
 
15 posts · Mar 2010
Never mind again.

I used the WP 3+ menu structure to explicitly define which pages are displayed, rather than the old Atahualpa "Pages" menu.

I can now build out my store in peace.

Bookmarks

Tags
e-shop, plugins, shortcode, shortcodes



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ATA 3.51 and WP 3 issues Shama New Versions, & Updating 3 Jun 28, 2010 03:49 PM
New to WP...Got Ata 3.3..?'s on Ata vs Montezuma and TOP THINGS TO CUSTOMIZE - FIX? Brasshatgroup New Versions, & Updating 5 Jun 1, 2009 07:22 AM
How do I enter shortcode? LemBook Sidebars & Widgets 8 May 17, 2009 07:40 PM


All times are GMT -6. The time now is 12:31 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.