hostknox
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Menu Item Link ErrorBy the way, don’t forget that changes to the code of theme files are overwritten when that theme is updated. So it’s advisable to use a child theme. Here’s more info on how to create one:
Forum: Fixing WordPress
In reply to: Changing the Colour of my Nav barWPyogi, they most certainly will. Thank you for the note.
Here’s more info on child themes:
Forum: Fixing WordPress
In reply to: Change color of dropdown menuYes, forgot to mention that.
Here’s more info on creating a child theme:
Forum: Fixing WordPress
In reply to: Changing the Colour of my Nav barYou should be able to do this by modifying the file MenuMatic.css of your theme. The path to the file on your hosting account would be public_html/wp-content/themes/TravelZine/menu/MenuMatic.css. The code that you need starts around line 88 and looks like this:
#nav li { background-image: url("../img/mainnav-sep.gif"); background-position: 100% 5px; background-repeat: no-repeat; cursor: pointer; display: inline; float: left; height: 50px; margin: 0 2px 0 0; padding: 0 2px 0 0; }
Put an attribute for the color (e.g. background-color: green;), so that the code looks like this:
#nav li { background-image: url("../img/mainnav-sep.gif"); background-position: 100% 5px; background-repeat: no-repeat; background-color: green; cursor: pointer; display: inline; float: left; height: 50px; margin: 0 2px 0 0; padding: 0 2px 0 0; }
Then clear the browser cache and refresh the frontend of your site.
Hope this helps.
Forum: Fixing WordPress
In reply to: Change color of dropdown menuYou can do this by modifying the style.css file of the theme. The path to the file on your hosting account would be public_html/wp-content/themes/TheProfessional/style.css. You can also modify theme files with the built-in editor in the admin panel.
The code that you need to modify starts on line 157 and looks like this:
ul.nav ul li a { background: url("images/menu-bullet.png") no-repeat scroll 0 9px rgba(0, 0, 0, 0); padding: 4px 0 4px 15px; width: 145px; }
Delete the part rgba(0, 0, 0, 0) and replace it with #FFFFFF (or just with white), so that the changed code looks like this:
ul.nav ul li a { background: url("images/menu-bullet.png") no-repeat scroll 0 9px #FFFFFF; padding: 4px 0 4px 15px; width: 145px; }
Then clear the browser cache and refresh the frontend of your site.
Hope this helps.
Forum: Fixing WordPress
In reply to: How to make blog index appear only as login pageYou can put a redirect rule in the .htaccess file that’s in /blog. As far as I understand what you want to do, the following rule should do the trick:
Redirect /blog/index.php /blog/wp-login.php
Hope this helps.
Forum: Fixing WordPress
In reply to: Menu Item Link ErrorFirst of all go to the Appearance menu in your admin panel and check whether the theme doesn’t offer any in-built options, including one for changing the home link.
Otherwise, you should be able to change the link by editing the code of the theme. The code for the home link is probably in the header.php file of your theme. The path to the file on your hosting account would be public_html/perfect-rehitim/wp-content/themes/xt_furniture/header.php. In the file just look for the URL of the theme designer and replace it with your URL.
By the way, the home link in the footer also points to the site of the theme designer. You should be able to change that from the footer.php file of the theme.
Hope this helps.
Forum: Fixing WordPress
In reply to: Submit for Review and Add Media problemThe core WordPress options don’t allow you to edit user roles. You can use a plugin such as User Role Editor. Another similar one is Advanced Access Manager.
Hope this helps.
Forum: Fixing WordPress
In reply to: In ArchieveIn your admin panel go to Appearance menu>Widgets sub-menu and move the widget for the archive from the sidebar area to the one for inactive widgets (or just delete it).
Hope this helps.
Forum: Fixing WordPress
In reply to: Remove WooCommerce Pricing from HomepageOne way to do this is with a simple modification to the style.css file of your theme. The path to the file on your hosting account would be public_html/wp-content/themes/organic_shop/style.css. You can also use the built-in file editor in the admin panel of your WordPress to edit theme files.
In the file find the code (around line 983):
a .product-price { color: #424242; }
and inside the brackets add
display: none;
so that it looks like thisa .product-price { color: #424242; display: none; }
Then clear the browser cache and refresh the frontend of your site.
Hope this helps.
Forum: Fixing WordPress
In reply to: Change character count before "read more"If you want to increase the number of symbols/letters in the excerpt of the slideshow, you can do this with a minor modification to the tpl_home.php file of your theme.
Assuming that your WordPress is installed directly in the public_html folder on your hosting account, the path to the file will be public_html/wp-content/themes/wp-creativix/tpl_home.php. You can also use the built-in editor in the admin panel to edit the file. In the tpl_home.php file find the code:
$wpcx_slideshow_text = wpcx_cut_text(get_the_excerpt(), 290);
and increase the number 290.
Hope this helps.
Forum: Fixing WordPress
In reply to: navigation bar wordsI noticed that you would prefer to do it without any code modifications, but in case you decide to make some here is a suggestion on how to change the color of the links in the navigation bar of your theme.
Edit the stylesheet.css file of the theme. The path to the file on your hosting account would be public_html/wp-content/themes/Geraldine/stylesheet.css. Of course, you can also edit theme files from the backend of your WordPress.
In the stylesheet.css file around line 316 find the code:
.nav a { display: block; padding: 15px; }
and change it into
.nav a { display: block; padding: 15px; color: white; }
Then clear the browser cache and refresh the frontend of your site. In case you don’t want to modify the code of the original theme files, you can create a child theme, switch to it and modify the child theme.
Hope this helps.
Forum: Fixing WordPress
In reply to: Completely redirect website (with 301 redirect?)If you place the new website in a subfolder you should reflect that in the destination URL of the redirect command, so that the URL corresponds to the location of the new site on your hosting account. Using your example, the command should be:
Redirect / https://newdomain.com/newsite
Regarding SEO, by default the redirect is a temporary one (302 HTTP status code). With temporary redirects page ranking is not passed from the old to the new page. While with a permanent redirect (301 HTTP status code) the page rank is passed to the new page(s); some page ranking percentage may be lost though. So if you don’t plan to go back to the old site/domain you should use a permanent redirect. To do this put the status code right after the directive:
Redirect 301 / https://newdomain.com/newsite
Hope this helps.
Forum: Fixing WordPress
In reply to: Completely redirect website (with 301 redirect?)You can place a simple redirect directive in the .htaccess file that’s in the root WordPress folder of the old site. In the .htaccess file that’s in the public_html folder on your hosting account (assuming that’s the root WordPress folder) put the following directive:
Redirect / https://newdomain.com
Hope this helps.
Forum: Installing WordPress
In reply to: Fatal ErrorThe PHP memory_limit is set to 32Mb and this is obviously not enough. If your host allows it, you can try increasing this limit (either by a custom php.ini file or with an .htaccess directive, depending on how your host runs PHP – as CGI or DSO).
This, of course, depends on your host’s setup and it would be best to contact them and ask for further assistance.