DigitaLink
Forum Replies Created
-
Forum: Plugins
In reply to: [Jock On Air Now (JOAN)] Now Playing is blank.It’s fine for my purposes, I reworked the code somewhat anyway to integrate with an XML music feed I already had built. Just thought I’d report it here in case there was an error with the files that were uploaded and it affects others who may not be comfortable with PHP. 🙂
Forum: Themes and Templates
In reply to: [Openstrap] title attribute in menu not workingThank you for this! Had the same issue working with the Bootstrap theme – the code that needs to be replaced is in the inc/wp_bootstrap_navwalker.php script on line 78. I was using <span> tags in the menu for icons, and they were showing up on hover no matter what I changed the title attribute to.
Forum: Fixing WordPress
In reply to: Access to second database from php include breaks WP queries after.Nope, wasn’t over-writing any defined values … but in the end I decided it wasn’t worth fighting with for the sake of experimenting.
I exported my database, imported it to the pre-existing database, changed wp-config, and now it’s all happy as can be. Some days I swear I just try to make things harder for myself. LOL I’m going to bookmark your solution though – it looks like a good workaround.
Forum: Fixing WordPress
In reply to: Access to second database from php include breaks WP queries after.HAHA!! I found my answer in wp-settings.php. After I’m done with the 2nd database, I just have to add:
wp_set_wpdb_vars();
as the next line, and everything works as it should again. That was amazingly easy … once I delved through enough code to find the magic little line to make things work. I said it was probably something very simple … 🙂——- UPDATE ————-
Hmmm … on second glance, it’s not ALL working quite right with that fix. Custom menus and styling seem to be working, but the calendar widget still isn’t showing posts on dates that have them. But I suppose I can live with that if I’m not using the calendar widget. 😉Forum: Fixing WordPress
In reply to: echo HTML content only working with absolute URL'sSince you are already inside <?php ?> tags, you don’t need to add <?php in front of bloginfo(”); before /images/postsCollapse.png. But since your echo is using single quotes (”), you DO need to escape the string to access the function. So if you try:
data-openimage="'.bloginfo('template_directory').'/images/postsCollapse.png"
I think it will give you what you are looking for. PHP will directly access variables and such within double quotes, but you have to escape single quotes before you get results.Forum: Fixing WordPress
In reply to: No categories! (or tags)I’m going to try it again in a few minutes with the brand new 2.9.2 release that came out today. We’ll see if there’s any difference.
… nope, exactly the same thing. I give up. It’s obviously just not going to work on that server for some stupid unknown reason.
Forum: Fixing WordPress
In reply to: No categories! (or tags)I did that too … twice now. Even tried the older 2.9.0 version, thinking maybe the 2.9.1 download was corrupted. Same deal. No cats, no tags.
I have 2.9.1 running on two other servers with zero problems … and I’ve never had an issue with WP before, even going back to 2.5.x. It has me absolutely stumped.
Forum: Fixing WordPress
In reply to: No categories! (or tags)And if I add a new category, it IS showing up where it should in the wp_terms table in my database. (along with the default Uncategorized and Blogroll)
Forum: Fixing WordPress
In reply to: No categories! (or tags)PHP version 4.4.2
MySQL version 4.1.22-standardNo error logs showing on the server.
Forum: Fixing WordPress
In reply to: No categories! (or tags)Oh yeah, I wiped out 2.9.1 and tried 2.9.0, and the same problem persists. Took out all files AND the database.