Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter justinae

    (@justinae)

    Was an internal issue, nothing to do with the plugin.

    I am also looking for this option. Has anyone found a solution? I was able to use a printing plugin (cleanprint) that emailed the wishlist but it only emailed a link back to the site.

    Thread Starter justinae

    (@justinae)

    I found the solution. It was in the installation documentation using shortcodes.

    Thanks.

    Thread Starter justinae

    (@justinae)

    Thread Starter justinae

    (@justinae)

    I got it working by adding the [button_action] shortcode. However, I still need to get one thing working. I need the donation amount field to have name=”AMOUNT”. Is that possible?

    Here is the code for the donation field:

    <div id="frm_field_[id]_container" class="frm_form_field form-field [required_class][error_class]">
        <label for="field_[key]" class="frm_primary_label">[field_name]
            <span class="frm_required">[required_label]</span>
        </label>
        [input]
        [if description]<div class="frm_description">[description]</div>[/if description]
        [if error]<div class="frm_error">[error]</div>[/if error]
    </div>

    Here is the working code for the submit button:

    <!--Paytrace Button.-->
    <form action=HTTPS://PAYTRACE.COM/cart/donate.pay method=post>
    <input name=MID type=hidden value=111111111111>
    <input name=ID type=hidden value=1111>
    <input name=PID type=hidden value="Donation">
    <input name=cmdPayTraceCart type=image src=https://domain/submit_button.png [button_action]>
    </form>
    <!--Thank you for using PayTrace.com-->
    Thread Starter justinae

    (@justinae)

    Ok. They wanted to stick with Paytrace. We’re just going to link offsite to process the payment. I’ve got it sort of working. Here is the code for the submit button:

    <!--Paytrace Button.-->
    <form action=HTTPS://PAYTRACE.COM/cart/donate.pay method=post>
    <input name=MID type=hidden value=1111111111111111>
    <input name=ID type=hidden value=1111>
    <input name=PID type=hidden value="Donation">
    <input name=cmdPayTraceCart type="https://images/submit_button.png">
    </form>
    <!--Thank you for using PayTrace.com-->
    
    <div class="frm_submit">
    [if back_button]<input type="submit" value="[back_label]" name="frm_prev_page" formnovalidate="formnovalidate" [back_hook] />[/if back_button]
    <input type="submit" value="[button_label]" [button_action] />

    Right now both buttons show up and when I click on the submit_button.png it creates the entry in Formidable as well as sends me to the donation page on Paytrace.

    Is it possible to use the button generated in Formidable to submit the form and direct to the Paytrace URL?

    thanks again.

    Thread Starter justinae

    (@justinae)

    Ok thanks for the heads up. If we could convince the client to go with Paypal or auth.net would we be able to seemlessly process credit cards from the form without having to go offsite?

    Thread Starter justinae

    (@justinae)

    Thanks Allen! That worked beautifully. I tried to get the vertical scroll to stop showing the excerpt but it’s still showing up. Here is the shortcode I’m using:

    [wp_rss_multi_importer category=”1″ showdesc=”0″ mytemplate=”vertical_scroll.php”]

    Does showdesc override the template?

    thanks!

    Thread Starter justinae

    (@justinae)

    RESOLVED.

    I was able to copy and past the old plugin folder to the new location seamlessly.

    Thread Starter justinae

    (@justinae)

    Solved!

    Here are the contents of the function.php file in the child theme. It was a lot more straightforward than I expected it to be. You can also turn off the breadcrumb feature in the settings.

    Hope this helps someone else.

    /* Custom Title Code */
    // Moving the page title outside of the content area
    add_filter( 'the_title', 'woo_custom_hide_single_page_title', 10 );
    
    function woo_custom_hide_single_page_title ( $title ) {
     if ( is_page() && in_the_loop() ) { $title = ''; }
    
     return $title;
    } // End woo_custom_hide_single_page_title()
    
    add_action( 'woo_content_before_singular-page', 'woo_custom_add_page_title', 10 );
    
    function woo_custom_add_page_title () {
     global $post;
     $title = '<div id="title-container"><div id="title_area" class="col-full"><h1 class="title">' . get_the_title( $post->ID ) . '</h1></div><div>' . "
    ";
     echo $title;
    } // End woo_custom_add_page_title()
    /* End Custom Title Code */
    
    /* Custom Breadcrumb Code */
    add_action( 'woo_content_before_singular-page', 'woo_custom_breadcrumb', 15 );
    
    function woo_custom_breadcrumb () {
    	$breadcrumb =  woo_breadcrumbs();
     echo $breadcrumb;
    }
    /* End Custom Breadcrumb Code */
    Forum: Fixing WordPress
    In reply to: PHP in hooks?
    Thread Starter justinae

    (@justinae)

    I tried and haven’t heard back. I apologize for the duplication. I actually found the solution and I’ll post on the original thread.

    Forum: Fixing WordPress
    In reply to: PHP in hooks?
    Thread Starter justinae

    (@justinae)

    woo theme. I since learned that you cannot put php into the hook but can edit the php to do so. That is a bit beyond me at this point but basically I am trying to figure out how to call the breadcrumb trail into a specific area.

    Here is the php I put into the functions.php file:

    function woo_custom_breadcrumb () {
    	woo_breadcrumbs();
    }

    Please keep in mind that I’m not a php expert, but can work within it.

    thanks

    Thread Starter justinae

    (@justinae)

    I hope this is permitted because now my question is more generic.

    Using the following custom code in the function.php file I was able to move the title:

    add_filter( 'the_title', 'woo_custom_hide_single_page_title', 10 );
    
    function woo_custom_hide_single_page_title ( $title ) {
     if ( is_page() && in_the_loop() ) { $title = ''; }
    
     return $title;
    } // End woo_custom_hide_single_page_title()
    
    add_action( 'woo_content_before_singular-page', 'woo_custom_add_page_title', 10 );
    
    function woo_custom_add_page_title () {
     global $post;
     $title = '<div id="title-container"><div id="title_area" class="col-full"><h1 class="title">' . get_the_title( $post->ID ) . '</h1></div>' . woo_breadcrumbs() . '<div>' . "
    ";
     echo $title;

    You’ll see I also inserted a call for the breadcrumbs. I wonder if that is a safe way to do it or should the breadcrumbs be called by themselves? I turned off the breadcrumbs feature in the settings but because I’m calling it separately it still shows up.

    thanks.

    Thread Starter justinae

    (@justinae)

    my apologies. I’ll go there.

    Thread Starter justinae

    (@justinae)

    I’m moderately comfortable and did just as you suggested. In case anyone else is having this issue, don’t do a search for https://www.domain.com, you’ll get all the instances of that reference in your posts/pages. Use https://www.domain.com. When I did it that way it only came up with the two places in the database that needed to be changed and all was good.

    thanks.

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