I want to customise the top menu bar of my wordpress site. By customise I mean modify the actual codes rather than the things we do in the backend interface.
Where can I find these files?
Thank you
You can find in Apperance -> Editor
Normally, your menu bar will be put in header.php file, you can check this file in your-website/wp-content/themes/your-current-theme/header.php , it was printed out through wp_nav_menu() function, if you know about php and wordpress, you can make a cusom Walker class add use it to modify your menu.
Regards
Related
I'm building a site for a networking group and they want to show if a category is open for someone to join.
I'm not sure if this is possible but I need to add a style to the navigation that if a category is open it will show "open" next to it when you hover over it. I know I can change it but the problem is it needs to be user friendly so they can change it themselves. So I'm trying to figure out a way to make it as easy for them as possible.
So far I came up with the idea of creating a different page template for them to choose and created a hover style for that template. The problem is you have to be on that template page and it shows when you hover over all of them even if it's not open.
Is there a way to add a function for a page only if it's using a certain template?
Here is a link to a page that is using the template I added - http://pt6-dev.info/categories/auto-truck-repairs/
I know some of the basics of php and javascript so any help or ideas would be appreciated!
You can just add it into the PHP file out with the PHP tags using the < script > element
I'm trying to create a child theme of an existing template on wordpress. I would like to change the template of the sidebar. Not to change the functionalities but just to change the visual aspect.
Here is what I currently have :
I would like to add the kind of underline and widgets you can see on the second picture. To do that I need to modify the template but I have no clue about how to do it.
Could you please help me if you know how ?
Depending on how you access your theme files, you'll need to either go to Appearance > Editor then find sidebar.php or if you need to access the file via your server files, go to wp-content > themes > theme-name > sidebar.php.
Sidebar.php is the sidebar of your website, and any changes made here will be reflected across your main sidebar in the live site.
I have created a second menu which I'd like to now use as my primary menu on the site (http://ima-mfa.hunter.cuny.edu). However, when I select the new menu it will not show up on the site. If I use another theme it works, so where might I find this problem? Some PHP file?
Here is your solution download ckeditor its very easy to install and use try to use this plugin if you have any trouble in using then let me know i will help you.
This is what i want to create in wordpress. I can create simple menu sub menu but not this type of structure. Any help would be appreciated.
if your're using WordPress's default templates, as i know this is not possible, but you can use other themes or templates for your site and check if they have this capability, or maybe you can find a plugin to do that for you and override this function your actual template,
i wish i could help.
I'm working on a theme for WordPress and I'd like to add a link in the left navigation that points to the "customize" feature that is built into WordPress.
The only way I know of in WordPress to get to that panel is to go to Appearance > Themes and then click the "Customize" text link next to the theme screenshot. That seems really hidden for an average user.
I'd like to put a text link under "Appearance" that points to that panel. The link that WordPress uses to get there is:
mydomain.com/wp-admin/customize.php
This needs to be in the theme's files, not hacking the WordPress core.
Thanks for any help you can offer.
Sorry to state the obvious but the only way you can do this would be to modify the core.
Or possibly add it as a shortcut link in the top black nav bar / dashboard area
I've modified the admin before and it's not unheard of to do it.