Title: single_sidebox and wordpress widgets
Last modified: August 19, 2016

---

# single_sidebox and wordpress widgets

 *  [katdidit](https://wordpress.org/support/users/katdidit/)
 * (@katdidit)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/single_sidebox-and-wordpress-widgets/)
 * hello, i thought this was going to be much simpler than it was – wordpress has
   totally impressed me with its function and interfaces – so much maybe i became
   over-confident. i have googled and searched for three days on this, and am afraid
   that my total lack of wordpress knowledge is not helping, so i was hoping that
   someone out there would know the solution.
 * scenario linux php5.2, a zen-cart installation 1.39h on the main root, wordpress
   3.05 in a subfolder. using a customized variation of the twenty-ten theme.
 *  using zen-cart modules, it is rumored that you can integrate wordpress either
   by embedding the wordpress in zen-cart – which i do not want to do, or by basically
   embedding sidebars and boxes from the two into the other, which is what i do 
   want.
 * i was successful at the wordpress into zen-cart boxes, using the woz boxes only,
   and it works beautifully actually.
 * it is the second module and the wordpress side that is making me a bit crazy…
   and in reality should be the simplest given the tools that wordpress has for 
   stuff.
 * sidebox anywhere, single_sidebox.php
 * the php code to embed into wordpress is
 *     ```
       $zcSBmodule = 'name.php';
       $zcSBlayout = 'left';
            require ("path/to/zencart/single_sidebox.php");
       ```
   
 * i have experimented with adding it to sidebar.php but was unsuccessful
 * > `<div>
   >  <?php $zcSBmodule = ‘name.php’; $zcSBlayout = ‘left’; require (“path/
   > to/zencart/single_sidebox.php”); </div>`
 * there are multiple sidebar areas in that theme, and i tried adding it as a sep
   sidebar area, substituting for one of them, and in a completely diff sidebar2
   file
 * soooo
    now i am trying to add it as a widget?
 * using my custom widgets plugin, so far with no luck, if it doesn’t break the 
   layout, it cuts off the widget below. i am going to install phpexec now to see
   if it works – if not i think maybe i will have to put it in a custom widget as
   the function?
 * or write one that will access the information from zen-cart directly which means
   a big delay… i am good when i have a blueprint to follow but am not a php expert
   by any means
 * so if you were me, what would you try next? is there something about the code
   that should be changed to call the single_sidebox.php file into a widget? – or
   to place it in its own sidebar?

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

 *  [ZeroGravity](https://wordpress.org/support/users/zerogravity/)
 * (@zerogravity)
 * [15 years ago](https://wordpress.org/support/topic/single_sidebox-and-wordpress-widgets/#post-1974412)
 * [@katdidit](https://wordpress.org/support/users/katdidit/), Did you ever get 
   this working? I am about to try using Sidebox Anywhere with a Genesis Theme and
   was wondering if you had any tips before I get started.
 *  [DivaVocals](https://wordpress.org/support/users/divavocals/)
 * (@divavocals)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/single_sidebox-and-wordpress-widgets/#post-1974425)
 * I too would like to know if ANYONE has gotten the Sideboxes Anywhere mod to work
   in WordPress..
 *  [TraciBunkers](https://wordpress.org/support/users/tracibunkers/)
 * (@tracibunkers)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/single_sidebox-and-wordpress-widgets/#post-1974427)
 * Me too! I’ve been struggling with this and can’t find how to make it work.
 *  [DivaVocals](https://wordpress.org/support/users/divavocals/)
 * (@divavocals)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/single_sidebox-and-wordpress-widgets/#post-1974429)
 * Thought I’d add a link to this post since it’s related.. [Display Zen Cart Sidebox inside Widget](http://wordpress.org/support/topic/display-zen-cart-sidebox-inside-widget?replies=47)

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

The topic ‘single_sidebox and wordpress widgets’ is closed to new replies.

## Tags

 * [zencart](https://wordpress.org/support/topic-tag/zencart/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 4 replies
 * 4 participants
 * Last reply from: [DivaVocals](https://wordpress.org/support/users/divavocals/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/single_sidebox-and-wordpress-widgets/#post-1974429)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
