Steven Jones
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Dashboard colorsForum: Fixing WordPress
In reply to: Getting locked out of my wordpress site by this code:It looks like you’ve edited your functions.php incorrectly.
Get FTP access and go to line 420 and see what the problem.
Just a note, your WordPress site is your website, I think you mean the admin area.
Forum: Themes and Templates
In reply to: Slow loading category pages – image attachment issue?It doesn’t look like it should be slowing anything down too much.
Do you have a link?
Forum: Themes and Templates
In reply to: How to remove "Blog Archive" from the tittle of the pageI am guessing he/she means https://happinessadvantageprogram.com/
There’s a really good chance that the code will be header.php but there’s also a chance that theme functions or a plugin might be controlling it too.
Forum: Themes and Templates
In reply to: left nav extend all the way to bottomIs there a link to the site in question?
Forum: Themes and Templates
In reply to: Access denied to Atahualpa Theme OptionWhat access do you have? It’s likely you’ll need to be an administrator to change those options.
Forum: Themes and Templates
In reply to: URL changes when a page is selectedYou need to make sure you changed the SITEURL and the HOME urls have been changed properly.
You can do this via the database or by going to SETTINGS > GENERAL
Yeah would be grateful if someone could show the implementation of this.
You’ll have to provide a lot more detail than that. For example what theme did you used to have and what theme do you have now?
Are you using a plugin for SEO?
Forum: Themes and Templates
In reply to: Rename "home" page not using custom menu or static home pageYou’ve got two options
1) Remove this from functions.php:
/** * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link. */ function twentyeleven_page_menu_args( $args ) { $args['show_home'] = true; return $args; } add_filter( 'wp_page_menu_args', 'twentyeleven_page_menu_args' );
and then replace:
wp_nav_menu( array( 'theme_location' => 'primary' ) );
with
wp_page_menu( array( 'show_home' => 'Start', 'sort_column' => 'menu_order' ) );
in header.php
2) Use wp_nav_menu and then use this plugin:
https://www.ads-software.com/extend/plugins/menu-rules/
To make sure that they have a ‘current’ state when they’re on a sub page.
Cheers.
Forum: Fixing WordPress
In reply to: wp_nav_menu sort order?Is there any way to filter it for just one menu?
Forum: Hacks
In reply to: Pagination ProblemHi – Sorry for getting back so slowly.
Here’s the code I have.
Cheers,
SteveI’ve changed the content about a bit. Have a look at this search…
https://calva.co/?s=windows&orderby=relevance
Still producing negative numbers. If they can be removed then it’ll be fixed, as the scores without the minus are correct.
Cheers,
SteveOk so when there is a search without a category (the one where it fails)..
https://calva.co/?s=lorem&submit=Go
It’s getting -0.32 for the posts with one occurrence and -10.57 for the one where lorem appears lots.
If you do a search that includes a category then it’s 53.52 for the one where it appears lots and 1.62 for the others.
So it looks like without a category it’s somehow making the results negative…
Cheers,
SteveWould any of the settings have an impact on these results?
Cheers,
Steve