I am using a wordpress theme that is placing my pages and catagories in the opposite places I want them (See Below). Is there a way I can pragmatically switch the places where the pages (about, contact, apps) with the categories? I've looked around but cant find anyone who has had a similar issue.
If the theme supports changing menu items, then #golddc's answer tells you what to do. But if the theme doesn't support it and you're not ready to develop a theme from scratch, you may be able to modify the existing theme:
Go into the Wordpress back-end and navigate to Appearance > Editor (two options below Appearance > Menu).
Find the file on the right that governs the site's header. This is probably header.php. The right file will hopefully include wp_list_pages(); and wp_list_categories(); somewhere, since these are the functions which, predictably enough, tell Wordpress to list the site's pages and categories, respectively.
Switch the locations of wp_list_pages(); and wp_list_categories(); and see if that has the desired effect.
You can check the "Menu" settings in the WP backend, which you can find at Appearance -> Menus. If the theme supports it, you can create menu items with categories.
Check here for how to use the menus:
http://codex.wordpress.org/WordPress_Menu_User_Guide
If the theme doesn't support that (although I think Menus is supported) and it's definitely needed, you may have to consider developing your own theme.
Related
How to add custom WordPress theme in WordPress theme using PHP, CSS, HTML...I tried
C:\Users\megha\Downloads\wordpress-5.8.zip\wordpress\wp-content\themes in this way to show theme but nothing happen ..then how to insert theme in wordpress
[Installing WordPress themes and plugins][1] is very simple. All you have to do is go to the WordPress dashboard, there you will have the menu on the left. Select plugins/themes.
You can also search the directory, and apply filters to find a theme or plugin that best suits your needs. Click on install, then click activate, and voila! It’s done, my friend. You have successfully manually installed a theme/plugin on your website!
To use full-site editing, hover your cursor on Appearance, and in the menu select Editor. Voila! You can now edit your homepage, and create a design you want. For those looking forward to design ideas or ready-made blocks, check out WordPress Patterns.
Most importantly, there is no restriction on the number of plugins you can use (unless you have managed hosting, as most do not allow some plugins, especially those that clash with their platform’s codes. Read more here: managed vs self-hosting).
So, you can pick any number of plugins you want, and don’t worry about how to customize WordPress plugins or how to update WordPress plugins. It’s very simple and happens at the click of a button. We’ll be coming up with more guides, clearing any remaining whiff of doubt you might have.
I've been trying to figure out how to add a php variable into my WP navigation links.
Let me explain:
I'm gonna set a cookie on the very first page of my website, when the user clicks on one of 4 types of profile:
-family
-pro
-seniors
-cadres
Currently, I have a theme switcher extension wich modifies the WP theme depending on those prefixes:
http://mywebsite.com/family
http://mywebsite.com/pro
http://mywebsite.com/seniors
http://mywebsite.com/cadres
... etc
The colors & content of the 4 "home" pages are different, but I'm using the WP navigation menu (wich remains the same on every page, so the prefixes disappear when clicking on its links).
Initially, I wanted to modify my menu links like that:
https://mywebsite.com<?php if (isset($_COOKIE['profil'])){echo '/'.$_COOKIE['profil'];} else{} ?>/navigation-link1
Here:
menu
But I can't add php here, and the solution is not ideal because it would only apply to the menu, and not the posts permalinks (I want some posts to be available regardless the profile and I don't want to duplicate all my posts).
Ideally, I would like to have a solution to set the WP theme directly based on the stored cookie. This way, it would also apply when the users click on a post permalink.
I've read things about a "walker" but I don't know what it is, wp_nav_menu_objects, but I didn't understand what files to modify nor wich code to use.
I always search the web to find my answers, but I'm french and I think my understanding has reach it's limits, so if somebody could take the time to explain to me like I'm 4 years old :), I would be grateful.
Thanks
Im quite new to drupal, At the moment ive been trying to install a commerce theme but i dont get the correct appearance of it
the original theme
how it looks in my localhost
i have alreay installed drupal commerce, panels, ctoold, views etc... can sosmebody tell me what has gone wrong and how do i get the original look of the theme
There is a lot of things you need to do after installing the theme.
After installing new theme you should do the following:
Change default logo to your site logo.
Check what menu items are displayed and manage them in your structure>>menus
Add slider images by checking where to add the images (Read your theme readme.txt)
Add content so as to display in appropriate areas.
Add Products to your site.
Configure home page link.
Configure your categories / popular categories tags blocks.
Configure special offers block. May be you need to create a view with block display.
Place search block in appropriate region.
I am listing few and you can figure out rest if anything is not at its position.
Note: Generally the theme provides you basic regions, templates, css and icons structure, and you have to manage your site content so as to get the look and feel.
I am trying to install the goodstore wordpress theme found here :
This is their menu :
https://www.dropbox.com/s/zzt8hhp0dvlpaul/Capture1.JPG?dl=0
This is how it looks when i apply it :
https://www.dropbox.com/s/5vgnn4ajjqboo5l/Capture.JPG?dl=0
What could course this? and what should i be looking for to resolve this issue?
wordpress version 4.0 ( same issue with lower versions)
woocommmerce 2.2
theme version 1.2.3( latest)
Themes are generally pretty barebones until you customize the hell out of them. I haven't worked with this theme specifically but for starters you'll want to edit the Menu (which is just standard Wordpress functionality, nothing to do with your theme) to create the items you want in your navigation bar.
Many themes add new menus to the left sidebar; look there for additional customization options. WooCommerce adds its own set of menus that is independent of your theme.
Lastly, click on Appearance > Themes and hit the Customize button next to your theme for potentially even more appearance options (not all themes put options here).
Beyond that you might want to get a handle on working with basic Wordpress before trying to apply themes.
I have installed the MediaFlux theme from Mojo-Themes on my website at www.sjsueconomics.org. Here are my questions:
As you can see on the website, the blue menu at the very top of the page currently displays Page Titles. I want to display External Links there instead. How do I modify the code to do it?
The main menu (red text below the logo) currently displays Categories. Without changing the style or appearance, I want to display the Page Titles instead. How do I do it?
Thanks in advance!
The company you paid for the theme provides support, not a community which has no access to this product.
http://wordpress.stackexchange.com ; customizing a paid theme while providing no code (and having no right to provide any code) is not an appropriate subject for a StackOverflow question
if the theme supports custom menus, there ought to be a Menus page in the admin, under Appearances probably, or perhaps Settings. Go there, then create a menu with the pages or categories you want, then tell the theme to use the menu you created instead of the default. If the theme doesn't have such a feature, you'll need a programmer.