Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter apveenstra

    (@apveenstra)

    No, there is nothing visible within PayPal, and that makes sense, since it’s the local cart that gets abandoned, and the “Pay” button that connects to PayPal never gets clicked.

    I’m writing some simple PHP code now that I want to include in the checkout page using the “Proper PHP Include” plug-in, that writes a line to a logfile with the IP address and hostname of the visitor, and also the referring page.

    I hope that this way I can find out where these abandoned carts come from.

    Thread Starter apveenstra

    (@apveenstra)

    Never mind, they pointed me in the right direction by telling me that I had to change the files “pro-shortcode.php” and “pro-faq-grid-shortcode.php”.

    Here are the instructions for modifying the Pro version 1.1.2.
    These changes will allow you to set the sort order of the FAQ items in the backend by using the “Attributes” pane on the righthand side of the page where you edit the FAQ.

    Edit pro-shortcode.php:
    file: wp-content -> plugins -> wp-faq-pro -> pro -> pro-shortcode.php
    line: 111
    change

    $orderby = ‘post_date’;

    to

    $orderby = ‘menu_order’;

    Line: 112
    change $order = ‘DESC’;
    to $order = ‘ASC’;

    Edit pro-faq-grid-shortcode.php:
    file: wp-content -> plugins -> wp-faq-pro -> pro -> pro-faq-grid-shortcode.php
    line: 88
    change

    $orderby = ‘post_date’;

    to

    $orderby = ‘menu_order’;

    line: 89
    change

    $order = ‘DESC’;

    to

    $order = ‘ASC’;

    line: 149
    change

    $orderby = ‘post_date’;

    to

    $orderby = ‘menu_order’;

    line: 150
    change

    $order = ‘DESC’;

    to

    $order = ‘ASC’;

    Edit faq.php:
    file: wp-content -> plugins -> wp-faq-pro -> faq.php
    line 93:
    change

    ‘supports’ => array(‘title’,’editor’,’thumbnail’,’excerpt’)

    to

    ‘supports’ => array(‘title’,’editor’,’thumbnail’,’excerpt’,’page-attributes’)

    Alexander

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