Title: Replace shortcode into sticky navigation logo
Last modified: August 4, 2019

---

# Replace shortcode into sticky navigation logo

 *  Resolved [minhduc.dev](https://wordpress.org/support/users/ducpl/)
 * (@ducpl)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/replace-shortcode-into-sticky-navigation-logo/)
 * I used the following code to add a shortcode replacement sticky navigation logo
   but it didn’t work, I did something wrong. Looking forward to your early feedback.
   Thank you.
 *     ```
       add_filter( 'generate_navigation_logo_output', function() {
           $logo = do_shortcode( '[inline_navigation_shortcode]' );
   
       	return sprintf(
       		'<div class="navigation-branding">
       		    <div class="sticky-navigation-logo">
       				%1$s
       		    </div>
       		</div>',
       		$logo
       	);
       } );
       ```
   

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

 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/replace-shortcode-into-sticky-navigation-logo/#post-11798516)
 * Hi there,
 * Our sticky navigation is a pro feature, which we aren’t allowed to support here
   on WordPress.org (it’s one of their rules).
 * Any chance you can open a support topic in our premium forums?: [https://generatepress.com/support](https://generatepress.com/support)
 * Let me know 🙂
 *  Thread Starter [minhduc.dev](https://wordpress.org/support/users/ducpl/)
 * (@ducpl)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/replace-shortcode-into-sticky-navigation-logo/#post-11807569)
 * Okay, Can you give me a list of “font-family icons: GeneratePress”.
    For example:“
   f086” and what is the icon image displayed.
 * From there I can rely on the image and easily change. Thank you, Tom.
    -  This reply was modified 6 years, 11 months ago by [minhduc.dev](https://wordpress.org/support/users/ducpl/).
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/replace-shortcode-into-sticky-navigation-logo/#post-11810698)
 * For sure! Take a look here: [https://raw.githubusercontent.com/tomusborne/generatepress/master/fonts/generatepress.svg](https://raw.githubusercontent.com/tomusborne/generatepress/master/fonts/generatepress.svg)
 * So if we do a search for `f086`, we can see it’s the `comments` icon.
 * Let me know if you need more info 🙂
 *  Thread Starter [minhduc.dev](https://wordpress.org/support/users/ducpl/)
 * (@ducpl)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/replace-shortcode-into-sticky-navigation-logo/#post-11814233)
 * Oh I understand, Thank you very much. Have a nice day.
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/replace-shortcode-into-sticky-navigation-logo/#post-11814920)
 * Thanks! You too 🙂
 *  Thread Starter [minhduc.dev](https://wordpress.org/support/users/ducpl/)
 * (@ducpl)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/replace-shortcode-into-sticky-navigation-logo/#post-11892527)
 * [@edge22](https://wordpress.org/support/users/edge22/) Hello Tom, Sorry for bothering.
   I am very impressed by how to introduce a demo like your site. What plugin are
   you using to create a “Site library” that can be shared with me?
 * [Site library](https://generatepress.com/site-library/)
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/replace-shortcode-into-sticky-navigation-logo/#post-11894794)
 * Hi there,
 * That’s actually something I built from scratch just for the Site Library – no
   plugins.
 *  Thread Starter [minhduc.dev](https://wordpress.org/support/users/ducpl/)
 * (@ducpl)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/replace-shortcode-into-sticky-navigation-logo/#post-11895401)
 * Hi,
    I am making an interface template sale page. If that function is integrated
   into the Premium version I will buy, great. Thank you.
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/replace-shortcode-into-sticky-navigation-logo/#post-11896260)
 * It’s not actually built into GP Premium – it’s something we built specifically
   for our Site Library showcase on our website.
 *  Thread Starter [minhduc.dev](https://wordpress.org/support/users/ducpl/)
 * (@ducpl)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/replace-shortcode-into-sticky-navigation-logo/#post-11899915)
 * OK I understand . Thank you

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

The topic ‘Replace shortcode into sticky navigation logo’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/generatepress/3.6.1/screenshot.
   png)
 * GeneratePress
 * [Support Threads](https://wordpress.org/support/theme/generatepress/)
 * [Active Topics](https://wordpress.org/support/theme/generatepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/generatepress/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/generatepress/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [minhduc.dev](https://wordpress.org/support/users/ducpl/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/replace-shortcode-into-sticky-navigation-logo/#post-11899915)
 * Status: resolved