Forum Replies Created

Viewing 30 posts - 1 through 30 (of 149 total)
  • Author
    Posts
  • in reply to: Possible to get a custom button on the header #449008

    Ok i forgot i could use a shortcode for the button and just use text/html widget.

    Question regarding the custom css

    #header .widget {
      left: 50%;
      padding-top: 0;
      position: absolute;
      top: 0;
      transform: translate(-50%);
    }

    I figured out how to position it up/down and left/right with % values to top and left.

    What does the transform value do and the position ?

    Also when adding this how does it affect the mobile site ?

    I can’t see the button (which is good) but i just want to make sure it doesn’t scew up anything on the mobile site.

    Site is located here:
    It’s the green button to the top right that is added.

    http://paullindqvist.se/golfbarenallen/

    • This reply was modified 9 hours, 18 minutes ago by  paullindqvist.
    in reply to: Possible to get a custom button on the header #448992

    Thanx!

    Worked nicely to get a widget area to the header, is there a way i can get add button to a widget area like the buttons i can add to a page ?

    I would like the same design.

    in reply to: Form email subject line #445820

    Wow thank you! Worked perfectly!

    Really appreciate the help!

    Regards
    Paul L.

    in reply to: Form email subject line #445118

    I saw the difference in the functions, copied it and it worked great! Thanx!!

    Final question, is it possible to add a static text that will work in conjunction with the “foeretag” form label ?

    Like “booking from “foeretag”

    Regardless, thank you so much for the help!!

    in reply to: Form email subject line #445098
    This reply has been marked as private.
    in reply to: Form email subject line #442539
    This reply has been marked as private.
    This reply has been marked as private.
    in reply to: Form email subject line #441719
    This reply has been marked as private.
    in reply to: URGENT Help with mail forms not working!? #441302

    Ok got it sorted, it was a corrupt WP installation of some sort used the WP reset plugin and imported the site again and now it works as it should. Thanx!

    in reply to: URGENT Help with mail forms not working!? #441184

    Also i tried to deactivate all plugins used, but no difference.

    Thanx

    in reply to: Form email subject line #438426

    Oh i then i understand, i tried another field in the form, with no success.

    Thanx!

    in reply to: Form email subject line #436914

    What is the Umlauts ?

    Is there any chance Dude can take a look and see why it’s not working ?

    Would be great if i could get this working!

    Thanx!

    in reply to: Form email subject line #436172

    Hi Elliot correct i mixed the posts up.

    I now tried the code at the bottom of the page you linked to.

    add_filter('avf_form_subject','avia_change_mail_subject', 10, 3);
    function avia_change_mail_subject($subject, $new_post, $form_params)
    {
    $subject = urldecode($new_post['företag_'.(avia_form::$form_id - 1)]);
    return $subject;
    }

    Still get a blank subject on the emails ?

    Thanx!

    in reply to: Form email subject line #435125

    Hi i think i have the label correct.

    The field i want to be the subject line from the form is the first “företag”

    http://paullindqvist.se/gb/foretagspaket/

    Code i pasted into the functions.php

    add_action( 'wp_head', 'insert_fb_in_head', 5 );
    
    add_filter('avf_form_subject','avia_change_mail_subject', 10, 3);
    function avia_change_mail_subject($subject, $new_post, $form_params)
    {
    $subject = $form_params['företag'];
    return $subject;
    }
    in reply to: Form email subject line #433311

    Thanx Elliot but i read those and tried them both but still get a empty subject line ?

    It would be a lifesaver if we could get this to work!

    Thanx

    in reply to: How to display a "regular" html content on a page ? #432622

    Thanx! Will try that!

    in reply to: Two social icons beside each other on a mobile page ? #432434

    Thanx!

    But they are then displayed after each other, i was hoping to get two smaller icons beside each other on the mobile.

    in reply to: Sub menu overlapping, and strange resize issue. #432430

    I tried that and it solved it, but got a dark bar under the submenu ?

    in reply to: Any way to get the social icons on the menu ? #432429

    Thanx! worked like charm!

    in reply to: Form email subject line #432425

    Hi Elliot!

    Thanx, but isn’t that the same as changing the subject line to a “static” one in the forms option, if left blank the subject line will be the default.

    What i want to achieve is to have the subject line change depending on what is entered in the form. I.E have the name entered in the form incorporated in the email subject line.

    Since the subject line is the same when we get them from the form it’s hard to separate the mails, or connect them to a certain client by just looking at the subject line.

    Thanx

    in reply to: How to display a "regular" html content on a page ? #431218

    Hi Elliot!

    Thanx for the reply!

    Here’s what i want to achieve:

    I have a old website on a domain (http://spelaminigolf.se) we want to use this domain as it’s well known etc. but we want a wordpress site with new primary content.

    So i want a simple page (probably one page) where we display the new content at the top and below it we want to embed the old site ” as is” probably create a subdomain and put it there.

    Is this the best solution or have i missed something obvious ? :-)

    Thanx!

    in reply to: Sub menu overlapping, and strange resize issue. #429755

    Hi Andy!

    Thanx for testing, and get back to me.

    I’v not got it fixed on my MBA 13″ on either firefox, chrome or safari ?

    Here’s a video showing the issues:

    http://quick.as/gLwzs9Q41

    Kind of strange that i get it with all three browsers, but only on macbook air 13″ ?

    in reply to: OG meta tags ? #428871

    Great, thank for the help!!

    in reply to: OG meta tags ? #428861

    Hi Thanx!

    Seems to be working right ?

    http://paullindqvist.se/gb/

    in reply to: Two social icons beside each other on a mobile page ? #428705

    Hi !

    Yes i got them in the footer, what i want to achieve is to large icons beside each other on the actual page, if possible ?

    Thanx!

    Regards
    Paul L.

    in reply to: OG meta tags ? #428704

    Ah thanx!

    So should i add this to the functions.php or the functions-enfold.php ?

    Also is there a way for a novice like to check if the tags is added and “working” ?

    Thanx!

    in reply to: OG meta tags ? #428487

    So from what i’v read the og meta should be added to the functions.php

    I tried this from this guide

    	//Adding the Open Graph in the Language Attributes
    02
    function add_opengraph_doctype( $output ) {
    03
            return $output . ' xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"';
    04
        }
    05
    add_filter('language_attributes', 'add_opengraph_doctype');
    06
     
    07
    //Lets add Open Graph Meta Info
    08
     
    09
    function insert_fb_in_head() {
    10
        global $post;
    11
        if ( !is_singular()) //if it is not a post or a page
    12
            return;
    13
            echo '<meta property="fb:admins" content="148882508634598"/>';
    14
            echo '<meta property="og:title" content="Golfbaren | Minigolf och maximys"/>';
    15
            echo '<meta property="og:type" content="website"/>';
    16
            echo '<meta property="og:url" content=http://www.golfbaren.se/>';
    17
            echo '<meta property="og:site_name" content="Golfbaren.se"/>';
            
            echo '<meta property="og:description" content="Kom och spela minigolf på konstgräs av bästa kvalitet, en putt från T-banan och alldeles intill Kristinebergs Slottspark." />';
    18
        if(!has_post_thumbnail( $post->ID )) { //the post does not have featured image, use a default image
    19
            $default_image="http://example.com/image.jpg"; //replace this with a default image on your server or an image in your media library
    20
            echo '<meta property="og:image" content="http://www.golfbaren.se/wp-content/themes/golfbaren/golfbaren/img/fb_logo.jpg"/>';
    21
        }
    22
        else{
    23
            $thumbnail_src = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'medium' );
    24
            echo '<meta property="og:image" content="' . esc_attr( $thumbnail_src[0] ) . '"/>';
    25
        }
    26
        echo "
    27
    ";
    28
    }
    29
    add_action( 'wp_head', 'insert_fb_in_head', 5 );

    But then i can’t access the site due to a function.php error on the line where i pasted this.

    Any idea what i’m doing wrong ?

    in reply to: Two social icons beside each other on a mobile page ? #428484

    Hi Elliot!

    The splash page can be seen here

    http://paullindqvist.se/gb/mobile/

    What i want is two icon that links to a Facebookpage and a instagram page.

    The social share feature is only for sharing right ?

    Regards
    Paul L.

    in reply to: How to make a splash page for mobiles ? #428076

    Ok, great thanx!

    in reply to: How to make a splash page for mobiles ? #428045

    Hi Thanx!

    I have stumbled up on some limitations with this solution.

    I need a splash page for mobile devices so when you enter the site on mobile device you should have to the choice to either proceed to the website or go to a app for golf.

    The limitation i get is that i can’t set it up so that i always get the choice to go to either website or the app, due to cookies remembering the choice.

    If i set the plugin to not remember the choice, i get a permanent redirect and thus i can’t get to the website as it simply redirect me to the same page over and over.

    Is there a way to set up different start pages for mobile and desktop within enfold ? Or any other solution ?

    Thanx!

Viewing 30 posts - 1 through 30 (of 149 total)