Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • I have the same problem and wasting days trying to solve it.

    I am using prostore wordpress theme. I am setting up the ecommerce with woocommerce plugin.

    When I place the order, thank you page does not load and I get the following error message

    {"result":"success","redirect":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_cart&[email protected].....

    can u pls help?
    thanks

    Thread Starter alexthecatta

    (@alexthecatta)

    PLS HELP! I’M LOST!

    I’ve done a little step forward, but again another problem. Here the situation at the moment:

    If I click on “Master 1” page, I correctly display in the navigation the two pages links at “First Child 1” and “First Child 2”, and user display immediately the First Child 1 page. And this is fine.

    Then if I click on “First Child 2” page, I correctly display in the navigation the links to “Second Child 1” and “Second Child 1” pages but:

    – user does not display immediately the “Second Child 1” page content
    – if I clik one of the links diasplayed in the navigation (Second Child 1 or econd Child 2) I completely loose the navigation described above.

    What I’m using now is two different templates, beside the default one.

    One template for

    <ul>
    <li>Master 1</li>
         <ul>
         <li>First Child 1</li>

    with the following code inside

    <?php
      if($post->post_parent)
      $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0&depth=1");
      else
      $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0&depth=1");
      if ($children) { ?>
    <div id="sub-nav">
      <ul class="sub-nav" style="display:inline">
      <?php echo $children; ?>
    
    </div>
      <?php } ?>

    and another template for the following pages

    <li>First Child 2</li>
               <ul>
               <li>Second Child 1</li>
               <li>Second Child 2</li>
              </ul>
         </ul>

    with the following code inside

    <?php
      if($post->post_parent)
      $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0");
      else
      $children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0");
      if ($children) { ?>
    <div id="sub-nav">
      <ul class="sub-nav" style="display:inline">
      <?php echo $children; ?>
    
    </div>
      <?php } ?>

    PLS HELP ME! THANKS

    Thread Starter alexthecatta

    (@alexthecatta)

    Sorry, the structure is the following

    • Page A
    • Page B
    • Page D
    • Page E
    • Page C
    Thread Starter alexthecatta

    (@alexthecatta)

    thanks, it is working just fine.

    Thread Starter alexthecatta

    (@alexthecatta)

    Thanks, your suggestion worked out just fine.

    With body_class function I can now see what class I can use in CSS.

    Just one more question: how can I apply this class to a specific element (a rigt side bar, in this case) that already has a class defined in CSS?

    Let’s say I have this page-template class, and another class already in place to style a <DIV> contained in the body… hope it is clear enough.

    Thanks for your help.

    Thread Starter alexthecatta

    (@alexthecatta)

    Will try and let u know if it works.

    Thread Starter alexthecatta

    (@alexthecatta)

    The theme I’m using is Lapofluxury

    https://designdisease.com/blog/lapofluxury-theme-released/

    and it seems that the function you mentioned is not used in the theme.

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