New post dynamically shown in dropdown menu in WordPress - php

I am making a Wordpress site with DIVI theme.
Suppose I have two categories complete project and ongoing project. These two categories are already in Menubarbar with dropdown list.
I manually create this dropdown menu from Appearance->Menus.
Now I want that, while I add a new post under ongoing project/ completed project category, the dropdown list of Menubar will automatically updated dynamically with the new post.
Please Help.Thanks in Advance.

Related

how to show grid layout instead of list view in wordpress admin area

I need grid view layout instead of simple list view layout in wordpress posts
like we use bootstrap columns.
here is a screenshot of current wordpress posts
[
But I don't want this layout I want grid system here.Currently wordpress is
using tables and i need grids here we can use div.
do you guys any plugins which does so.
I found one but its premium plugin in codecanyon
http://codecanyon.net/item/admin-post-grid/11405282

Using Flexnav on a custom wordpress theme

Hi I'm creating my own theme on wordpress and have been running into difficulty creating a dynamic menu. I want to use the flexnav menu (http://jasonweaver.name/lab/flexiblenavigation/), which I can display through a static site but when trying to implement it through wordpress I can not display the sub menus and dropdown class elements, can anyone help or has anyone had the same problem with dropdown menus?

How to add own fields to menu item in Joomla 2.5

i need to include my list area component in existing menu item(type: List All Categories) Administrator screen in Joomla
solution tried:
i have created new menu item type as component
its displaying my textarea now how can i load data input to the textarea
i have referred below link.
http://docs.joomla.org/J2.5:Developing_a_MVC_Component/Adding_a_variable_request_in_the_menu_type.
I have created component referred below link and component type as overridden select-option,
its working fine now.
Thanks
http://docs.joomla.org/J2.5:Developing_a_MVC_Component/Adding_a_variable_request_in_the_menu_type

Page specific menus in Wordpress

I am trying to make a page specific menu in Wordpress, where each page has its own options... The link is http://dev.activenation.co.uk/leisure-centre/southampton-water-activities-centre/
As you go through the "Your Centre" pages, the grey menu changes. At the moment, we are using conditional if statements to load the specific menus, however, the client will need to add more leisure centres.
Was just wondering if there was a more time saving way of doing page specific menus, instead of coding conditional if statements?
Add a custom meta box to the 'page' content type that is a simple <SELECT> list of all of the custom WordPress menus. On save, pull the selected menu ID from the SELECT list and save it to the database. On the page template, check if the saved value exists and if it does, pull in the WordPress menu that has the saved ID.
This will allow an editor to create any number of menus, pick a specific one for each page, and share like menus between pages.
There are a lot of tutorials and code snippets around creating custom meta boxes, and displaying a simple select of the available menus. If you haven't done custom meta boxes before, this is a good intro project since it only has one form field and it's easy to validate the data.
Smashing Magazine has a great walk through on custom meta boxes: http://wp.smashingmagazine.com/2011/10/04/create-custom-post-meta-boxes-wordpress/
If those Centres are subpages of "Your Centre" you could try to use this plugin which creates hierarchical pages / category / taxonomy lists.

wordpress - add new category based admin panel menu tab

i want to show a new admin menu tab which will pull information from a certain category, i.e products.
I do not want to use custom Post types because i want to be able to change themes with out any modification to theme files, so please do not recommend that.
using wordpress function add_menu_page() i can add a new tab, but how to show new post page and existing posts of that category, exactly like custom post type.
thanks
Did you try the Menus?
If I'm not mistaken, what you want to do is to create a menu tab that can fetch the posts from a certain category
Create a post with your category
In your dashboard go to the Appearance > Menus
Name your Menu, after creating your New Menu
You can select what you want to add on that Menu
by checking it and clicking Add Menu, the Categories
are on the bottom part.
You should try to create your custom post types as part of a plugin anyway, as that's what WordPress recommends:
https://codex.wordpress.org/Post_Types#A_word_about_custom_post_types_as_a_plugin
That way you can them with any theme.

Categories