Shop Categories

X

Feature request: Xing social media button (ready to use code inside)

Home Forums Agama Pro Feature request: Xing social media button (ready to use code inside)

Topic Resolution: Resolved

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7131
    elwielan
    Participant

    Hello everyone!

    I implemented a button for the german professional social media network (like Linkedin) for our site. Find the code (for Agama Pro 1.4.1.1) below. It implements the button into the top-social bar, the footer, and of course into the customizer so you can set the link as you wish.

    style.css:

    /*Define original xing color*/
    .tv-xing:hover { background-color: #126567;}
    /* define xing logo for non-animated menu (works without with the animated one*/
    .social-icons.xing:before {content: "\f168";}

    class-agama.php (Insert one line into “static function sociali”)
    'Xing' => esc_url( get_theme_mod('social_xing', '') ),

    customizer.php (Insert into social icons section)

    	Kirki::add_field( 'agama_options', array(
    		'label'			=> __( 'Xing URL', 'agama-pro' ),
    		'description'	=> __( 'Set your Xing page url.', 'agama-pro' ),
    		'section'		=> 'agama_social_icons_section',
    		'settings'		=> 'social_xing',
    		'type'			=> 'text',
    		'default'		=> ''
    	) );   
    #7135
    Zex
    Moderator

    Hello, elwielan!

    Thank you for the theme improvement.

    We will implement this feature for everyone, in the next theme update.

    Best Regards

    #7142
    elwielan
    Participant

    Thumbs up!

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