Big Bagel
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to find a users passwordUnless I’m mistaken, passwords are hashed before they’re stored to prevent such a thing. If you need to recover a password, I think you’ll have to reset it. There are several ways to reset a password, so you shouldn’t ever have to recover it.
Forum: Fixing WordPress
In reply to: Missing Static Page option on Settings–>ReadingI believe that option is hidden until you publish two pages.
Forum: Fixing WordPress
In reply to: Adding "Salts" when using automatic upgradesDo you mean the security keys/salts that you add to wp-config.php? If so, this page would give you the info you need. You just add what the online generator gives you to the indicated place in wp-config.php.
Forum: Fixing WordPress
In reply to: Excluding pages from the access menu in Twenty TenThat function (
wp_nav_manu()
) is for the new custom navigation feature that was added in WordPress 3.0. With that in there you don’t need to alter the code to change your nav menu, you can do so in Appearance > Menus. Here’s the codex page for it. If you would rather do it in the code, you can just replacewp_nav_manu()
with whatever you want.Forum: Fixing WordPress
In reply to: Page Validation – Only one ErrorIt looks as if that script (the one the validator is complaining about) is being added to all the pages of your site and that it loads several hidden iframes to questionable websites. You can test your website here: https://sitecheck.sucuri.net/scanner/. (I already did, the results aren’t encouraging)
Assuming you didn’t put that script there, might I suggest:
https://codex.www.ads-software.com/FAQ_My_site_was_hackedYou might also want to search the forums for “hacked” related posts and start a new topic with a relevant title.
Forum: Fixing WordPress
In reply to: Redirect IE8 users to another siteYou have to make sure it’s called before any headers are sent or it’ll crash and burn.
I would put it in your theme’s functions.php file and hook it to something early, like:
add_action( 'init', 'redirect_ie' ); function redirect_ie { if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'MSIE 8' ) ) { header( 'Location: h ttp://www.example-domain.com' ) ; } }
*Note:
Make sure to take that extra space between the “h” and “t” out. It’s only there to keep this forum from turning that into an actual link.Forum: Fixing WordPress
In reply to: Category link (with get_option) is not workingDo the Quick Check, or go to your WP Admin and change the URL
yourwebsite/wp-admin/options.phpYup, best thing to check first would be that your stored option is in there correctly. Also, it’s probably not the problem, but it never hurts to mention it: whenever you directly change any files make sure to refresh any cache you’re using.
/wp-admin/options.php
…! I didn’t know that was there!
All that time wasted sludging around phpmyadmin just to test things…‘Deja Vu’?
Indeed.
Forum: Fixing WordPress
In reply to: Category link (with get_option) is not workingIf you already know the category ID then it would be easier to do:
<span class="catname"> <a href="<?php echo get_category_link( 2 ); ?>"> <?php echo get_cat_name( 2 ); ?></a> </span>
Are you sure that your options page is properly saving that option into a database entry named nt_cat2?
Edit:
Bah, ninja posted again! ??
Sorry for asking a similar question as David’s.Forum: Fixing WordPress
In reply to: Category link (with get_option) is not workingIs ‘nt_cat2’ something you or a theme/plugin has already added to the options database table? Was it properly populated with the ID of the category you’re trying to get a link for? Essentially, what exactly is being stored in ‘nt_cat2’?
Explaining what you’re trying to display (The current post’s category info for example.) would be helpful. Right now, assuming that ‘nt_cat2’ is in the database and holds a category ID, there’s nothing wrong in the code.
Forum: Fixing WordPress
In reply to: How to get rid of this code on bottom of postsWhile you can edit the
comment_form();
function in your theme to get rid of it, as previously suggested, it might be easier to find this part of your style.css file:.comment-note { width: 380px; text-align: left; display: inline-block; font-size: 11px; }
and change
display: inline-block;
todisplay: none;
.You could also just add:
.comment-note { display: none; }
to the bottom of that file instead.
Of course, if you’re editing your theme, using a child theme is always recommended.
Forum: Fixing WordPress
In reply to: Permalink issueIf you like any of those, sure! You can use whichever you like the best including a custom structure. Just make sure, if you do use a custom structure, that you try to follow the recommendations in the first link I gave (which should prevent this problem from occurring again).
Forum: Fixing WordPress
In reply to: Permalink issueI meant any of the settings other than “Custom Structure”. I would say that you’re having problems with 404’s because you only used /%postname%/; I’ve seen in the past where that would cause conflicts that resulted in 404’s. Like it says here, it’s recommended that you put some numeric bit (such as /%year%/) before that.
Edit:
This link is also a good resource on the subject.Forum: Fixing WordPress
In reply to: Permalink issueDoes everything work if you set it to one of the non-custom permalink settings?
Forum: Fixing WordPress
In reply to: HTML5 head and bodyIn your child’s CSS file you have:
.pageContainer { text-align:left; color:#FFFFFF; width:980px; margin:0 auto; position:relative; z-index:1; }
If you change the margin part to:
margin: 10px auto 0;
it’ll add 10px to the top. You can change 10px to whatever size you need. I kinda like the music player where it is right now though.
Forum: Fixing WordPress
In reply to: HTML5 head and bodyUsually you can add some space using
margin-top
orpadding-top
on the wrap, body, or header of your site using CSS. Without a link to the site to see the problem, it would be difficult to suggest anything more specific.