Using the latest version of WP, is it possible to add inline style attributes to a wordpress menu item from within the wordpress menu panel?
So for example, I have a menu where for whatever reason, I need to position the menu items absolutely. I want my client to be able to go into the WP menu panel and simply add a style of "left: xx%" to any item.
I know this can be done via the stylesheet - but was hoping there was also a way to do this as described above.
Thanks!
Shortcodes Pro is a great plugin for this.
Related
I'm using child mylisting theme on wordpress , is there any way to add a button so that my changes appear on all listing pages between content.
when adding the button shows like this
any way to add button in content area.
Easiest way is to use child theme. You can then copy across the appropriate template and add in the code for the button.
It sounds complicated but it's really quite simple. It's all explained in the theme documentation:
https://docs.mylistingtheme.com/article/installing-child-theme/
How to convert this awesome menu to wordpress.
Menu demo link.
Wordpress has its own default feature to display a menu with using wp_nav_menu function.
You can create a menu from WordPress backend and call it using this function so your menu will be dynamically and you can set the last menu with label ... and select as a custom link with # then you can add another sub child under this menu as well.
You can apply same CSS to this menu also to look same as you want.
I hope this will be helpful for you.
Thanks.
I would like to be able to create a navigation menu in WordPress in which the top-level nav items are not pages, but rather menu headings, which expand the sub menu when clicked.
The default WP menu behavior is that all menu items are links to content (pages, posts, etc), and that sub-items are viewed upon hover.
I'm looking for a way to make it work more like the menu behavior built into Twitter Bootstrap (and for the same usability reason).
I'm looking for a solution that either already exists as a plugin, or which I can build into a plugin, so that anyone can create a new menu like this in the WordPress menu editor.
checkout this tutorial :
https://digwp.com/2011/11/html-formatting-custom-menus/
If you dont want any custom html structure than you can simply add the classed to menu and for top level menu create a custom link with # as href.
In my WordPress menu I want different images for different menus with text as well. Here is the image reference. I want my menu should be like this.I am using WordPress 3.4.2. Any help and suggestions are highly appreciable.
Update
The screen options image
Here are two ways on how you could add custom classes to your menu items, so that you could style them with CSS.
When on the Appearance > Menus page in Wordpress admin panel, click on Screen
Options at the top-right of the page. A slide-out menu appears and
allows you to check an option labeled CSS Classes. If you enable
this option, you will be able to add a custom class to each menu
item, the same way as you add its title.
You can customize the Walker class to add an incremental class name
to each (top-level) element. To see how the Walker class works,
please take a look at the following article:
http://wp.tutsplus.com/tutorials/creative-coding/understanding-the-walker-class/
Use image sprites
Use a different class for each of your <li> item
Position your images as background for that classes.
Is it possible to build a drop down menu which content (the text inside the <li> tags) can be edited and modified by the user (within wp-admin)?
(or is there any plugin for that?)
For instance, like the text inside the drop down menu in this page: http://melbournecandy.com/day-tours-dates/
Wordpress has a built in feature called Menus which was developed by Woothemes. If you know HTML and CSS, you should be able to make such a dropdown menu yourself.
There's a JQuery plugin called Droppy I love that changes any HTML menu to a dropdown menu. Just remember to style it with CSS.
http://onehackoranother.com/projects/jquery/droppy/
http://plugins.jquery.com/project/droppy