Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter DigitaLink

    (@digitalink)

    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. 🙂

    Thank 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.

    Thread Starter DigitaLink

    (@digitalink)

    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.

    Thread Starter DigitaLink

    (@digitalink)

    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. 😉

    Since 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.

    Thread Starter DigitaLink

    (@digitalink)

    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.

    Thread Starter DigitaLink

    (@digitalink)

    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.

    Thread Starter DigitaLink

    (@digitalink)

    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)

    Thread Starter DigitaLink

    (@digitalink)

    PHP version 4.4.2
    MySQL version 4.1.22-standard

    No error logs showing on the server.

    Thread Starter DigitaLink

    (@digitalink)

    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.

Viewing 10 replies - 1 through 10 (of 10 total)