Support » Plugin: Give - Donation Plugin and Fundraising Platform » Help with the single give page template

  • Resolved oshi

    (@thugzanime)



    Hi Guys,

    I am trying to rearrange the single give page template display,

    Basically I would like to move the title and the description under the featured image So I can have more room to add long text information and display images and videos.

    Example something like this
    Mountain View

    If it help I’m using GeneratePress theme

    I was following this tutorial That I have find on givewp instructed how to rearrange singe give page template. I just cant find out how to move the summery text and leave the donation form where it’s.

    Please help Many Thanks in advance

    • This topic was modified 2 months, 2 weeks ago by  oshi.
Viewing 5 replies - 1 through 5 (of 5 total)
  • oshi

    (@thugzanime)

    Please can someone point me where to look for the php file for the content description file.

    I have manage to get the title but i just cant seem to get the description info alone,
    I have tried to use this code below but it also display the form fields which i am trying to avoid.

    <?php
    do_action( 'give_single_form_summary' );
    			?>

    I desperately need this please help.

    • This reply was modified 2 months, 2 weeks ago by  oshi.
    Plugin Support Ben Meredith

    (@benmeredithgmailcom)

    Hi there,

    To properly display the content in a different location of the form, you’d want to first remove the function give_form_content from the action give_pre_form_output and then add it to the template file wherever you’d like to output it. I have not tested that, but that’s where I would start if I were you.

    I don’t have a code snippet handy for how exactly to do that, and this sort of support falls outside the scope of our support forums here.

    Thanks!

    oshi

    (@thugzanime)

    Hi Ben Thanks for getting back,

    I’m still beginner with php code. Can you please elaborate more in detail how I can remove the give_form_content from the function?

    I have tried this on my theme function.php But nothing happens ?_?

    function remove_give_form_content() {
        remove_action('give_form_content', 'give_form_content');
    }
    

    Thank You for your Time 🙂

    • This reply was modified 2 months, 2 weeks ago by  oshi.
    oshi

    (@thugzanime)

    Update I have also tried this still not working

    function remove_give_pre_form_output() {
    	remove_action( 'wp_head', 'give_pre_form_output' );
    }
    add_action( 'wp_head', 'remove_give_pre_form_output', 1 );
    oshi

    (@thugzanime)

    Just Want to say Thank you I have manage to solve my problem 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.