Unable to show my settings on my index page
-
Hi,
I installed ‘Endue’ theme today. It goes well with my site. However, there is a problem.
My webhosting is with yahoo and when a month back I installed word press on my site I set it up to be shown as my home page but still it asked me to add it to a directory so i created a directory with the name ‘wp’.
Now when I changed theme, it shows perfectly what changes i make to the theme on the link ‘https://mysite.com/wp/’ but it doesn’t show those settings at ‘https://prettywonders.com’ The new theme is visible on my index page ‘https://prettywonders.com’ but it doesnt update the changes what i make to my theme.
I hope I was able to make you understand my problem. I’m not sure how to explain it. Please help me with this. I’ll be thankful really.
Regards,
Hina
-
Let’s see if we understand you.
If we go to: https://prettywonders.com am I right in thinking that we see the new theme, and that the new theme is also the theme for all the pages on your site?
When you make changes to your theme, you say they don’t appear on your home page unless you put the full path in. Is that right?
Do the changes appear on other pages other than the home page?
Cheers
PAE
Thanks PAE for the response. I just restored my database and that brought my site back to the old theme that i was using.
Let me put it in my words what you said above.“If we go to: https://prettywonders.com we see the new theme but with default settings (which theme developer had put in like images etc), and that the new theme is also the theme for all the pages on your site?”
https://www.prettywonders.com/ shows my posts and pages also my logo which I changed, but not completely the settings which I chose.
https://www.prettywonders.com/wp/ is the link which shows everything I put on like widgets, changed images etc.
I hope that is clear now. If you say, I’ll reload that theme on my site to show you what exactly it is. Thank you and I’m waiting like anything to fix this up.
Yes you’re right actually. You absolutely understood the thing.
okayyyyyyyyyyyy I’ve resolved the problem.
For all other sufferers, here is what I did:
(I did many many tries but I’m not telling here which didn’t work, only telling the solution now)
1. login to your wordpress admin
2. go to settings
3. in wordpress address tab enter your main domain (e.g. https://www.mysite.com/)
4. in Site address enter your main domain (e.g. https://www.mysite.com/)
5. ignore the errors and save settings, it will give you error, relax.
6. now open your subdirectory in which you have your wordpress installed. transfer all your word press files to your root directory.
7. it will not move index.php as index.php is already there in root. Now delete the index.php from root directory.
8. Now move your wordpress index.php from subdirectory to the root, this time it will do.That’s it. Everything is in order now. I’ll go and take my dinner now. Yeah. I did it. ??
?? looks like m not done…..
the ‘Home’ Button on my site is still linking to ‘https://prettywonders.com/wp’
anybodyyyyyyyyyyyyyyyyyyyyyy?????????
My guess is it’s because you still appear to be using the default menu.
Define a custom menu, make it your default menu and then make sure your front page settings are correct. It should be OK then.
Cheers
PAE
can you tell me exactly what and how i hv to do this?
To create a custom menu:
- Log in to your Dashboard in the normal way
- Go to Dashboard –> Appearance –> Menus
- In the main panel you will see:
- A “Theme Locations” sub-panel with a dropdown list. We will be using this later to set the menu you create as the primary navigation menu.
- Under “Theme Locations” there is another sub-panel labeled “Custom Links”. You use this to link to add a menu item that links to an external site
- Under that there is a further sub-panel headed “Pages” where you will see a list of the pages defined for your site. By default only the most recent are shown, but there are also tabs for “View All” and “Search” to get to ones other than the most recent
- To the left of these sub-panels there is a man panel which shows the menus that have been defined via a row of tabs. To create a new menu, you click on the rightmost tab, labeled with a ‘+’. For a first new menu, I’m not sure whether you need to click this or not. Probably not.
- Immediately below the tabs is a text input box labeled “Menu Name”. If this isn’t visible, click on the ‘+’ tab.
- To create your custom menu, type a name into the “Menu Name” text input. I use something like ‘main-nav’
- Select your home page (whatever you titled it) from the list of pages in the sub-panel on the left and click the “Add to Menu” button. The item will appear in the main panel under the menu name
- If you click on the down arrow to the right of the menu item in the main panel, another set of inputs will be revealed for “Navigation Label” and “Title Attribute” amongst other things.
- If your page is not called “Home”, you can enter “Home” as the navigation label. It’s the navigation label that appears on the menu. If the page is already called the right thing, you don’t have to enter the label. WP uses the page title by default.
- Select your “Blog” page (whatever you called it) and add that to the menu in the same way.
- You can move the menu items around and even create sub-menu items; but we’re OK with just the two items in the order Home | Blog for now. You can mess with it later if you want to
- Add any other pages/category lists etc you want to, to the menu
- Click the “Save Menu” button
- Now open the dropdown list in the “Theme Locations” sub-panel
- Select your custom menu (“main-nav” if you used the same name as I do)
- Click on the “Save” button in the “Theme Locations” sub-panel
Go back to your site. The horizontal menu should now contain just the items you’ve specified, in the order you specified, with the labels you specified (or the page titles if you didn’t specify any labels)
To make a static page your home page:
- Login to the Dashboard
- Go to Dashboard –> Settings –> Reading
- Underneath the main panel heading (“Reading Settings”) you will see two checkboxes labeled “Front page displays”
- Check “A static page”
- Open the dropdown list labeled “Front Page” and select your home page (whatever you called it — the one you want labeled “Home” on the navigation menu)
- Open the dropdown list labeled “Posts Page” and select the blank page you created for posts, which looks like “Uncategorized” on your site, I think
- Save the changes
HTH
PAE
Thank you. It was simple but not known. I already knew how to add and select menu but adding home link to that custom menu and changing its navigation never occured to me. Thank you , you were a great help.
Just a small thing now. you can see it on my home page. https://prettywonders.com/, the title of my website pretty wonders, it still navigates to prettywonders.com/wp, do you think it can be changed.
thanks once again for the great help.
Make sure you’ve made your home page a static page by following the steps I’ve given you in the second part of my post above.
Remove your home page from the menu and save the menu.
Now add the home page again by selecting it from the “Pages” sub-panel and clicking on “Add to menu”. Drag and drop it to the correct place on the menu. Give it a Navigation Label if you want the label on the menu to be something other than the page title.
Save the menu.
Check your site.
[EDIT]
If the above doesn’t work, check your home page’s permalink. Change it if necessary.
HTH
PAE
Well, I want my home page to be a static page where posts are visible and also the side bars.
While in the drop down menu in static page option, I don’t see something suitbale. Can you help me with this too. Sorry for bothering a lot.
Sorry. That’s a contradiction in terms. A static page is a single page. It doesn’t contain posts.
If you want your home page to display posts you just leave at at the default and it will show the latest posts (in all categories, as far as I know).
I just checked out your site, and it seems OK to me. Home is pointing to https://prettywonders.com/
Cheers
PAE
Yes thats true, for the time being I want it to show posts. The reason is that I’m still working on the content and there is not a single page which is 100% ready to be set us a home page.
It seems that everything is in order now. There is one little problem as I asked earlier, the title of my page is still pointing to https://prettywonders.com/wp, do you think it can be fixed?
Thank you for your support. You saved me lot of time and frustration.
Take a look in header.php (assuming your theme uses a header.php file). Somewhere near the top of the file you should see the code that outputs the site title and description. Something like this:
<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?> <<?php echo $heading_tag; ?> id="site-title"> <span> <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> </span> </<?php echo $heading_tag; ?>> <div id="site-description"><?php bloginfo( 'description' ); ?></div>
You will see that in the above case, the code uses
home_url( '/' )
to get the URL for the title.Have a look to see what your theme uses and post the line of code (remember the forum guidelines for posting code!) back here for us to have a look at.
Cheers
PAE
<div class="branding"> <?php if ($theme->display('logo')) { ?> <a href="<?php bloginfo('url'); ?>"><img class="logo" src="<?php $theme->option('logo'); ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" /></a> <?php } else { ?> <h1 class="site-title"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1> <h2 class="site-description"><?php bloginfo('description'); ?></h2> <?php } ?> </div><!-- .branding --> <div class="header-banner"> <?php $theme->option('header_banner'); ?> </div><!-- .header-banner --> </div><!-- #header -->
are you asking for this? I’m not good at programming, I just tried to find
- The topic ‘Unable to show my settings on my index page’ is closed to new replies.