Redirect Post Button to Contact Us Page

Discussion in 'GeoCraft WordPress Theme' started by bernie777, Aug 12, 2014.

Thread Status:
Not open for further replies.
  1. bernie777

    bernie777 New Member

    Joined:
    Aug 11, 2014
    Messages:
    6
    Likes Received:
    0
    I have the GeoCraft Theme. I would like the Post Button To Redirect to Contact Us Page rather than the Add Listing Page. How do I accomplish this Redirect? [email protected]
     
  2. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    For this you need to edit header.php file.
    Go to the
    themes\blackwelltheme\header.php
    and edit between line no. 92 to 102.

    Thanks & Regards
    Yogesh Bhade
     
  3. bernie777

    bernie777 New Member

    Joined:
    Aug 11, 2014
    Messages:
    6
    Likes Received:
    0
    Hi Yogesh, Your response did NOT help me
    1) My theme is GeoCraft you mention The Blackwell Theme
    2) I go to The Header PHP from the WordPress Editor and Find this code below:
    3) WHAT DO I NEED TO DO ???

    <a class="post_btn" href="<?php echo site_url( '/?page_id=' . get_option( 'geo_submit_listing' ) ); ?>"><span class="btn_left"></span><span

    class="btn_center"><?php
    if ( geocraft_get_option( 'post_btn' ) != '' ) {
     
  4. bernie777

    bernie777 New Member

    Joined:
    Aug 11, 2014
    Messages:
    6
    Likes Received:
    0
    ---------------------------------------------------------------------------------------------
    Hi Yogesh
    I Need Help. I have the GeoCraft Theme not the Blackwell Theme.

    I access the Header PHP from The Wordpress Editor
    and see a reference to the Post Button below but what do I Edit?

    <a class="post_btn" href="<?php echo site_url( '/?page_id=' . get_option( 'geo_submit_listing' ) ); ?>"><span class="btn_left"></span><span

    class="btn_center"><?php
    if ( geocraft_get_option( 'post_btn' ) != '' ) {
    echo geocraft_get_option( 'post_btn' );
    } else {
    ?>Post Your Business Listing at <?php
    if ( $pkg_cost )
    echo $currency_symbol . $pkg_cost;
    else
     
  5. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    Please provide us snapshot of page and button which you want to redirect on Contact Us page.

    Thanks & Regards
    Yogesh Bhade
     
  6. bernie777

    bernie777 New Member

    Joined:
    Aug 11, 2014
    Messages:
    6
    Likes Received:
    0
    Hi Yogesh, Thanks for getting back with me.

    Here is my Website Go Take a Look at The Orange Button on the Top Right

    http://cosmeticsurgeonsandiego.net/

    The GeoCraft Theme has a BIG Orange Buttom on the Top Right. When it is pressed it leads to a Page "Add Listing"
    In The Browser Navigation Bar it appears as http://cosmeticsurgeonsandiego.net/submit-listing/

    I would Like the Button to Land on the "Contact Us" Page Or In Fact any Other Page I wish it to lead to.

    Thank You
     
  7. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    For this you need to edit header.php file.
    Go to the
    themes\geocrafttheme\header.php
    and edit "http://cosmeticsurgeonsandiego.net/contact-us/" in place of
    "<?php echo site_url( '/?page_id=' . get_option( 'geo_submit_listing' ) ); ?>" on line 92 as shown below in screenshot.

    This will solve your issue.

    Thanks & Regards
    Yogesh Bhade
     

    Attached Files:

    • 22.png
      22.png
      File size:
      75.3 KB
      Views:
      6
  8. bernie777

    bernie777 New Member

    Joined:
    Aug 11, 2014
    Messages:
    6
    Likes Received:
    0
    THANK YOU Yogesh !
     
Thread Status:
Not open for further replies.

Share This Page