disable parent page, wordpress navigation - wordpress

I need to disable parent pages in my wordpress navigation menu. I have found a few plugins that disable click-through, but hover arrow and color change are still present. Looking to simply have the parent page show as text in the menu. Here is the header.php code if needed.
http://pastebin.com/Cd4HWTTV.
Please let me know if other information is needed.
Your help is much appreciated.
Alex

I have come across this a few times before. If I understand correctly, you have something like an About Us section, but there's no content on the About Us page. You want the link in the header to redirect to the first subpage in that section, the History page for example.
The way I had to deal with this was to make About Us redirect to History using a plugin called Page Links To.
http://wordpress.org/extend/plugins/page-links-to/

Related

Wordpress: How to turn page content into a popup

I really appreciate your generosity in taking the time to help me out!
I am working on a portfolio site to showcase my graphic work on wordpress.
For most themes, when you click on a list item on the portfolio it directs you to a new page dedicated to that item. I want it to be that when you click on the link, a big popup (about half the screen) comes up that displays the contents.
Is there a way to make the page content into a popup? Is there a plugin I can use for this?
You can see what I am looking for in this site:http://www.mikekus.com/
When you click on the link for each item, it doesn't redirect you to a new page. A popup comes up with the page information. How can I do that on wordpress?
Thank you in advance for your assistance!
Here is what that site is running on: Dunked.
There are quite a few options out there for this, especially in the WordPress plugin area. One fairly barebones looking one is WP Post Popup which, as the name implies, turns your posts into modal pop-up's instead of a new page.
Not sure if there is anything out of the box that is comparable to popping up on the side like the page you linked. With some CSS work though you could probably make the one I linked above, or any of them for that matter, look as you would like.
If you want to try and make something on your own, I would recommend doing some reading up on modal windows.

How to disable top page from dropdown menu wordpress?

I relly need help. I made a wordpress website, but i dont know how to disable top page from drom down menu.
I want to turn off page "Apartmani" because it is a empty page, so can you tell me how to disable that page and when you want to click on it nothing happens.
Here s the picture http://www.dodaj.rs/f/t/13H/495kOjY8/pitanje.png so i want to unable "Apartmans".
Thanks
The easiest way for you do do this is not to add this "Apartmani" as a Page in your menu, but as a simple link (as you can add custom links in your menu), with "#" as target. As is you will have a menu item that will handle its sub-pages, but this item will not lead to anything at all as long as the targeted link is #...

Wordpress: Page over page (withour reloading)

I am building my own theme, and I want something advanced:
What i want is a page with links (already have that, now comes the tricky part). When you click on that link, i would like to have a "page" sliding over the "portfolio page (the page with links)" (not covering it compleatly, or with an exit button so you can close the overlay page, and just return on the protfolio page (without reloading if possible).
I need to put this overlay page in a custom post type.
I have been looking into pop-up widgets, but i don't think that will do the job.
Is there a plug-in for this?
Thank you very much for helping me out!
Something like these? You can alter them according to your needs
http://codepen.io/shubhra/full/JBChq/
http://tympanus.net/Blueprints/GridGallery/
http://tympanus.net/Development/3DGridEffect/

Blog posts not highlighting the active menu item

Ok, I know that there are several other questions on SO regarding this topic. By now, I have probably read all of them. I have been researching this for a little over two hours now and I am coming to the end of the road (about to give up!)... So, here I am on SO finally asking the question to involve other sharp minds.
I am helping build this Wordpress site: greatman.us. And, the Posts page is located on a page called "Blog." The "active" menu item is highlighting properly on PAGES, but when you go to a POST, the "Blog" menu item is not longer highlighted (i.e. NOTHING is highlighted in the header menu).
There is no way in Wordpress - as far as I'm aware - to create a "parent" for a blog post. This option is only available for Pages. I need to be able to have the "Blog" menu item stay highlighted when I am viewing a BLOG POST.
For a general example:
mywebsite.com/blog/ <--- menu item "Blog" is highlighted
mywebsite.com/blog/post223 <--- menu item "Blog" is no longer highlighted
I am proficient with CSS and HTML, but not with PHP. So, if this is a PHP fix, please dumb your answer down as much as possible.
I have read tons of other articles about this online and it seems to be a common issue, with most people not knowing how to code with PHP.
I am using a custom theme, called Divi. And it is missing some of the CSS elements that other forums and sites I have read said that the style.css should have. This is another reason I am coming to a dead end. Please help!
By the way, one WORKAROUND I discovered is to add POSTS as sub-menu items to the "Blog" page that you made in the Wordpress Menus area (in the admin back-end). Then, use "display:none" is CSS to remove the submenu from being displayed to the public. This causes two main problems, though: 1) You can never have any other sub-menu items, because they won't be displayed. 2) You have to manually add every single blog post to the menu as a sub-menu item. This will eventually make your menu super long assuming you are a regular blogger. It is also a hassle.
Within your CSS, you will also need to add .current-page-ancestor with the same attribtues as your current menu item.
Something similar to below:
.current_page_item, .current-page-ancestor {
// Some attributes
}
This is guessing that you have use wp_nav_menu() though. If not then I'll need to see what code you have used to generate the menus.

Displaying a menu/block in a page/node

I'm new to Drupal and making some changes to an exisiting site.
I have a page with a menu in the left side bar, which shows on all the pages in that menu apart from the one i've added. I've done it before where you have to add the URL of the page you want the menu to show somewhere in the admin panel for the menu to show.
If i go to: site building > blocks > block_name and then tick 'Users cannot control whether or not they see this block.' The menu wil show. But it will also show on pages I don't want it to.
Do you know where in the Admin I need to go to allow the menu to show on this new page.
Thanks in advance.
After hours of hunting around I've found the answer, the block has text box at the bottom of the page 'page specific settings' where you add the URL of the page you wish the block to show on.
You can use menu_block module.
It creates the menu inside a block and treats it EXACTLY like a block.
Hope this helps... Muhammad.

Resources