• 0

Navable Logo In Navable Menu


Question

Posted · Report post

Hey Nick,
I've been looking to do something like how Mashable did their mobile menu - and when I saw this I realized you took the work out of my work.  Thanks!

 

I need to add a logo to the navable nav bar.  See here for an example: http://cinsay.com/

 

I tried adding the following to the "description" part of the WordPress menu for my home option... but no dice.
 

<a href="http://accelbusinesssolutionsllc.com" target="_blank"><img src="http://accelbusinesssolutionsllc.com/wp-content/uploads/2013/06/logo-trans-tall-big-no-glow_small.png" height="90"/></a>

How would I do that?

 

The website is is http://accelbusinesssolutionsllc.com

 

Thanks in advance!

Share this post


Link to post
Share on other sites

19 answers to this question

  • 0

Posted · Report post

Thanks for the advice ,beardedavenger.

 

Here is what I'm dropping into the functions.php file - does this look right?

add_action('navable_after_search', 'insert_navable_logo');
 
function insert_navable_logo() { ?>
 
	<a href="http://accelbusinesssolutionsllc.com" target="_blank"><img src="http://accelbusinesssolutionsllc.com/wp-content/uploads/2013/06/logo-trans-tall-big-no-glow_small.png" height="90"/></a>
 
    <?php
 
}

I'm not the best at hooks... thanks in advance.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

After 6.5 hours there isn't anyone at pagelines that can help?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Its been more than two days and still no help?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hey hey, relax. I'm knee deep in updating existing products so ya it's taking a little longer to respond than it normally does. 

 

I can add a hook for you so you can add whatever you want but it wont be until next week when all these updates go out.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Nick,

 

Thanks for the update.  When do you think the update will go out (approximately)?  Thanks for that!  

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Actually sent that update out today, and I added a hook for you called navable_after_search that you can hook into and insert anything you want.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

beardedavenger - thanks a mil. Btw, I just noticed that you've been spending your time making your sections forward compatible to DMS... just more reason for me to keep purchasing your stuff.  I appreciate everything.

 

Question - is v1.2 the version you pushed yesterday?  Its showing that I have that version and there's no update available.  However, the plugin "Hooker" doesn't identify that the hook is available and when I go into the Hook editor it doesn't show your newly created hook as an option.  Maybe it takes a while to push an update?

 

Please let me know if I'm missing something.

 

Thanks again!

 

Steve

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

yep 1.2 is it. I'm not entirely sure if Hooker accounts for 3rd party products.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Nick,

 

I checked Hooker - it pulls in all the hooks for pagelines sections made by 3rd party devs... I also used the Pagelines developed "Action Map" to identify the hooks on the page - the only ones that relate to Navable are as follows: 

 

pagelines_outer_navable

pagelines_inside_bottom_navable

pagelines_before_navable

pagelines_after_navable

 

Any chance that navable_after_search isn't firing on the page?

 

Thanks again for all your help!

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Those are the hooks that pagelines automatically generates for every section, 3rd party as well. I dont think it picks up hooks added inside the section.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Yep that looks right! I'd add a class to your image just incase you need to adjust the size of it or anything.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Nick,

 

Nothing is working... I added that to my functions.php file in the child theme folder, but no dice. Any suggestions?  

 

I'm going to PM you about some help if you're interested.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hey Steve,

I don't take on jobs this small, sorry. I just tested this and it works just like it should.

 

http://screencast.com/t/ZJMhpDvp

 

add_action('navable_after_search','addstuff');
 
function addstuff(){
echo 'hi';
}

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

beardedavenger, for some reason I can't get it to work - I even copied your echo above, just in case its something I'm doing wrong... here is what I'm getting:
(here is the code inserted {viewed from the WP editor}: https://dl.dropboxusercontent.com/u/68311000/2013-07-16%2010_28_14-Edit%20Themes%20%E2%80%B9%20Accel%20%E2%80%94%20WordPress.png

(here is the nav bar on the site after code inserted: https://dl.dropboxusercontent.com/u/68311000/2013-07-16%2010_33_26-Accel%20_%20Business%20Solutions.png)

 

What gives?  I hope its something small I'm missing!

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Not sure what to tell you. I can't make it not work on my end. Try NOT using the built in editor?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I'm NOT using the editor... just took a screenshot with it to show the code in the functions.php

 

I'm a little bit desperate - I'm even trying jQuery to fix this but for some reason I can get a test of it on jsFiddle, yet can't get it working on the site (see here).

 

I could really use some help and am more than willing to pay for it.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Well, I guess I'll get about as much help on this as everyone is getting on DMS.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

How does DMS have anything to do with you not being able to add an action? I've helped you out as much as I could, and I even added an hook JUST for you.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I'm willing to pay you multiple times over what I originally paid for the whole section, as this is your section... however, now I've got to hire someone else since this is "too small of a job" for you to do.

 

I definitely appreciate that you added the hook, but If I've removed all my custom code from the install and still can't get it to work then the hook hasn't done much for me.

 

I know you're probably slammed with the DMS launch, but this forum topic was started over 3 weeks ago and I would have expected more help in that time - especially since I'm willing to pay extra for it -- that's the correlation to DMS. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now