peterfeatherstone
Forum Replies Created
-
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Placement of Menu IconHi Dave,
I have created very basic shortcode support for the plug-in, it doesn’t do much except allow you to use the shortcode to place the HTML where you want it and not automatically inject it in the footer.
It is part of the 2.1 beta and needs to be activated from the admin area, if you would like to you can download and test it from:
http://downloads.wordpress.org/plugin/responsive-menu.2.1.zip
You will need to overwrite the current files in the responsive-menu folder with these, then go to the admin and active the use shortcode option.
You can then use the shortcode in the following ways:
In Posts & Pages
[responsive-menu]Using PHP
<?php do_shortcode( ‘responsive-menu’ ); ?>Let me know how you get on with this and any questions let me know!
Many thanks
Peter
Hi Akhilesh,
I have created very basic shortcode support for the plug-in, it doesn’t do much except allow you to use the shortcode to place the HTML where you want it.
It is part of the 2.1 beta and needs to be activated from the admin area, if you would like to you can download and test it from:
http://downloads.wordpress.org/plugin/responsive-menu.2.1.zip
You will need to overwrite the current files in the responsive-menu folder with these, then go to the admin and active the use shortcode option.
You can then use the shortcode in the following ways:
In Pages
[responsive-menu]Using PHP
do_shortcode( ‘responsive-menu’ );Let me know how you get on with this and any questions let me know!
Many thanks
Peter
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Positioning of Menu IconHey Trey,
The code has massively changed since then, but if it works for you then I can’t think of any problems this will cause.
However, good news for you… I have created very basic shortcode support for the plug-in for you, it doesn’t do much except what you want, which is have the option to use the shortcode to place the HTML where you want it.
It is part of the 2.1 beta and needs to be activated from the admin area, if you would like to you can download and test it from:
http://downloads.wordpress.org/plugin/responsive-menu.2.1.zip
You will need to overwrite the current files in the responsive-menu folder with these, then go to the admin and active the use shortcode option.
You can then use the shortcode in the following ways:
In Pages
[responsive-menu]Using PHP
do_shortcode( 'responsive-menu' );Let me know how you get on with this and any questions let me know!
Many thanks
Peter
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Positioning of Menu IconHey Trey,
Thanks very much for your kind words and for downloading and using the plug-in, and I hope you are enjoying it!
Unfortunately placing the menu in a different place to where it is currently is not actually possible, however I am looking at creating an option to use it as a shortcode, but it is proving slightly problematic at the moment!
There would be a way to do this, however it would involve considerable customisation of the way the plug-in works.
I’m not sure how strong your PHP coding is, but you would need to change the way the plug-in HTML is displayed, which can be found in the app/controllers/HTMController.php file then you are looking for the prepare method.
I will take another quick look at this tonight to see if I can get basic shortcode support added as this seems to be the best way to achieve this, but no promises!
Many thanks
Peter
Hi Akhilesh,
First of all thanks for downloading and using the plug-in, I hope it serves you well!
It is possible to echo the HTML in the header, however this is of course invalid HTML. When you say header, do you mean inside the <head></head> section?
If so, then you will need to open up the following file:
/app/controllers/HTMLController.php
and change (around line 17):
add_action( 'wp_footer', array( 'RM_HTMLController', 'display' ) );to:
add_action( 'wp_head', array( 'RM_HTMLController', 'display' ) );This will now display it inside the <head></head> section, however as said before I wouldn’t recommend this as it is incorrect HTML.
Let me know how you get on with the above, or if I have mis-understood your request please let me know.
Many thanks
Peter
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Menu overlapping logoHi April,
Thanks for your email and no need to sound embarassed, thats why Im here to help with CSS/JS/PHP etc. questions in regards the plug-in.
I will reply here, just so that it can potentially help other users in the future who may be having the same problem.
It appears that you didn’t replace the comments I gave you with any actual CSS. I have just looked at your site and the following makes the menu drop down below the logo and removes the lines.
@media only screen and ( min-width : 0px ) and ( max-width : 490px ) { #click-menu { top: 80px !important; } #click-menu .threeLines .line { display: none !important; } }If you would like text to display instead, you will need to set the text from the admin area as you don’t currently have any text setup and then we can work on this part once done.
Please let me know how the above displays for you, you can replace what you already have in there.
Also, thanks very much for your kind words about me, the plug-in and the website, they are all very much appreciated!
Many thanks
Peter
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Menu is not showingHi Louis,
Thanks for downloading and using the Responsive Menu plug-in.
It appears that the menu nor any of its files are being included at all.
Please can you check your themes header.php and footer.php files for the
wp_header()andwp_footer()calls respectively.It would appear as though these have not been included and are vital for all WordPress themes if you want any plug-ins to work correctly.
Many thanks
Peter
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Menu overlapping logoHi April,
What did you put instead of
// CSS Code to changein my example above?As I said, please provide the URL and I will take a look at what exactly you need to change.
Many thanks
Peter
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Push menu button rightHi there,
Thanks very much for your kind words and for downloading and using the plugin.
Could you explain exactly what behaviour you are trying to achieve here.
As I understand it you would like the button to move with the menu? So it starts in the top right as normal, then when you click the button, the button moves?
If this is the case, this isn’t what the push animation is for, it is used to push the whole page content other rather than the button itself.
You could create your own jQuery animations to achieve this if you would like hooking into the click on the button?
Do you have a link to your site I can see?
Many thanks
Peter
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] The menu isn't showing?Hi Nathan,
Inside your theme folder there will be a file called style.css, just put this right at the bottom after everything else.
If you don’t have access to FTP you can do it from the WordPress admin under Appearance > Editor or something like this, if you have this option enabled.
I’m a little confused about the second option, the Responsive Menu doesn’t show when you are in the admin area, only on the front pages.
Also, can you provide me with a few links on different pages where this is positioned differently so I can take a look for you.
Many thanks
Peter
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Menu overlapping logoHi April,
First of all thanks for downloading, using and your kind comments and review, they are all very much appreciated!
You could create a target for the button in your themes style.css file, something like the below to target it below 490px:
@media only screen and ( min-width : 0px ) and ( max-width : 490px ) { #click-menu { // CSS Code to change } #click-menu .threeLines .line { display: none !important; } }The above should hide the lines, just leaving the text and you can put different values for the top, left, right and bottom values where I have put the comments to place it where you would like it at this point.
Please let me know if the above works for you and if not please provide your site URL so I can take a look at it further for.
Many thanks
Peter
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] The menu isn't showing?Hi Nathan,
You could put the following in your style.css
#responsive-menu { max-height: 140px !important; }Try that, it should work
Many thanks
Peter
Hi Scott,
Perfect, I have just checked it out and the changes I suggested earlier should achieve the effect you are after.
In terms of it not displaying on the front page, adding the following to your functions.php file should do the trick:
if( is_home() ) { remove_action( 'wp_footer', array( 'ResponsiveMenu', 'displayMenuHtml' ) ); }You can substitute whatever you want inside the if statement above to produce different logic to remove it from specific pages if this doesn’t work.
Many thanks
Peter
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] The menu isn't showing?Hi Nathan,
In that case, simply increase the breakpoint width option to something like 5000px and it will then always be visible on your site.
Let me know if this achieves the effect you are after.
Many thanks
Peter
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Menu – variousHi Omar,
Thanks for the further response via email. Please see my answers below:
1. The side arrow issue has been fixed in the latest beta version, you can delete the current beta and download the new version to test if you wish.
2. I can see the header image for the children page there as on all other pages, are you still not seeing the image?
Please let me know if all is as it should be now and many thanks for using the plug-in!
Many thanks
Peter