Forums

Repeating Query Issue ( Easy PayPal ) & ( Improved Include Page ) (2 posts)

  1. Mobster
    Member
    Posted 4 years ago #

    I am incorporating Easy Paypal into my site. I also import multiple pages into my index, header and footers via "A better include page".

    When Easy PayPal kicks a not registered user to the signup page, the signup feature repeats itself in all of my iincluded content areas.

    Is there a way to stop the query from repeating itself?

    Take a look: (from a better include)

    function iinclude_page ($post_id, $params = null) {
    global $wpdb, $post, $page;

    $tempPost = $post;
    $tempPage = $page;
    $post = array();

    //Parsing custom parameters string
    if (isset($params)) parse_str($params);

    //Loading default parameters
    if (!isset($displayTitle)) $displayTitle = false;
    if (!isset($titleBefore)) $titleBefore = '<h2>';
    if (!isset($titleAfter)) $titleAfter = '</h2>';

    if (!isset($displayStyle)) {
    $displayStyle = DT_TEASER_MORE;
    } else {
    $displayStyle = constant($displayStyle);
    }

    Thanks in advance.

  2. Mobster
    Member
    Posted 4 years ago #

    No Ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.