• Resolved puremood

    (@puremood)


    I’m still wondering what I did wrong. (I posted for help a few weeks ago at the end of December and rec’d no replies) If someone is out there that may be able to help – please do. I’ve racked my brain for like 2-3 weeks.

    The custom fields WILL appear on some outside pages (i.e. pages from my tag cloud located in my sidebar) but they do not appear on the index/permalink pages.

    So they DO work… they just don’t appear on my main page. This goes for the_meta and also for plugins showing such data.

    I’m using a mood plugin (Cricket Moods and I did email the maker of that plugin and hes getting back to me but it isn’t his plugin, I know) but it doesn’t show either (only on the tag cloud pages, same as the custom fields).

    I’m thinking something is wrong in my index.php but I have no clue what. If you can help and need more info, just let me know.

    Please. Thanks.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Disable all plugins. Do they appear now?

    Post your index.php on the following site.
    https://pastebin.com

    Thread Starter puremood

    (@puremood)

    I checked the plugins and that isn’t it. ??

    I posted my code there – now what? Post the URL here? https://pastebin.com/503558

    Sorry, that site is new to me… thanks for your reply!

    Thread Starter puremood

    (@puremood)

    Thought I should add… I used the_meta tag for custom fields until a few weeks ago when I upgraded to 2.0 and changed themes. I did both in the same day… I’m thinking it may be the theme’s index.php but I did my best to compare it to the WP classic’s and well, I’m no pro so I may have overlooked something. :/

    There is no the_meta() in that file you pasted.

    Thread Starter puremood

    (@puremood)

    I know – I removed it but it was called in the loop. I called the_meta in a few places it doesn’t work no matter where I call it from… and I know it was the right way to call it because as I mentioned before it was working until I changed themes and such. I’ll post it again, calling it.

    Here is the code again: https://pastebin.com/504107 and if you’ll look you’ll see the output of custom fields, at the bottom, on the tag cloud pages like this one: https://justpuremood.com/index.php?tag=photos but they don’t appear on the index.

    “Feeling: Good, Hungry Weather: 49, cloudy”

    Are you saying that meta output like above should show up on index?

    How do you enter the meta above? With that mood plugin? Can you give the link to that plugin?

    It could be that the plugin stores the meta into its own table instead of into the one already provided by WP.

    Thread Starter puremood

    (@puremood)

    I wasn’t using a plugin to show “Feeling: Good, Hungry Weather: 49, cloudy” I was just inputting that info into the custom field area (key and value) and it was displayed by calling it with the_meta tag. When I changed themes (or upgraded?) it stopped calling the function on my index.php but as you can see it still appears elsewhere.

    So, yes, that meta data of “Feeling: Good, Hungry Weather: 49, cloudy” should appear on the index.php without the use of any plugin.

    The plugin for moods was Cricket Moods – I’m not interested as much in getting it to display, I deactivated (the plugin maker is going to verify is works with 2.0). I just want my meta data to appear using custom fields without any plugins.

    ??

    https://justpuremood.com/index.php?tag=photos

    That URL above is not generated by WP. Is a plugin involved? A “tag” plugin? Give me a link to that one.

    Thread Starter puremood

    (@puremood)

    For tags I use Ultimate Tag Warrior

    Meh, that plugin has too many files to look into.

    Add the_meta() to Default theme and activate that theme. Any metas?

    Thread Starter puremood

    (@puremood)

    Ok, my site is currently using the Default theme. I called the_meta and nothing ??

    Disable all plugins also, including the “Ultimate Tag Warrior.” If still no metas, then that’s it–I have no clue

    Thread Starter puremood

    (@puremood)

    Well… thanks for helping me out so much here – your time was appreciated. I left the template on default and disabled everything. I went in and activated each plugin one at a time on the default template and checked after each one. It appears to be the Adhesive plug in that was causing problems with the meta? Which is odd because I’ve had that in use for a long time and it never interfered with the meta. Not sure why it didn’t work correctly the first time I disabled the plugins on my current template. But at least it’s working now.

    I changed it back, from default, to my template and it works (Yay – both the_meta and the cricket moods). Currently I’m only displaying the moods tho.

    Appreciate your time greatly. Thanks, again.

    Do you have the latest version of Adhesive? Might make a difference…. https://www.asymptomatic.net/wp-hacks

    Thread Starter puremood

    (@puremood)

    Oh! I thought I was… but I wasn’t…

    I was using 2.3 for 1.5 and I see there is a 3.0 for 2.0 so yes, that makes a huge difference! That’s why it happened when I upgraded!

    Thanks! ??

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Custom Fields (not showing on index but is elsewhere)’ is closed to new replies.