michaelhisten
Forum Replies Created
-
Forum: Plugins
In reply to: [WTI Like Post] No functionality at all – could it be due to directory?Thanks — it was always showing the full post, not excerpts. I still couldn’t get it to work so I ended up finding a different plugin to use. Thanks for trying to help — I’m sure it’s something to do with my theme being created from scratch.
Forum: Themes and Templates
In reply to: Plugins don't seem to work in my custom themeI realized I was missing both that and wp_head() — and at least one of the plugins started to work after I made that change. Thank you!
Forum: Plugins
In reply to: [WTI Like Post] No functionality at all – could it be due to directory?I’ve done a re-install, the code now works in the default theme but I’m having the same problem when I use my custom theme. I don’t know how to make the thumbs up appear. Is my CSS hiding it or something?
Forum: Plugins
In reply to: [WTI Like Post] No functionality at all – could it be due to directory?I’m somewhat familiar with PHP but not an expert. Alternatively, would a reinstall of WordPress on my root directory solve this? I have not launched the site officially yet so this is an option for me.
Forum: Plugins
In reply to: [WTI Like Post] No functionality at all – could it be due to directory?I switched to default theme and added more content. It already had a few words in it though.
Forum: Plugins
In reply to: [WTI Like Post] No functionality at all – could it be due to directory?Thanks for responding so fast.
With the default theme, the thumbs up appears, but when I click I just get a constantly spinning loading gif and the number does not update or change. I’ve updated back to my theme to show how it appears for me. I am not so much concerned with the appearance (I am comfortable changing that all with CSS) but the functionality doesn’t seem to be enabled at all.
https://michaelhisten.com/work/and-a-work-post/
Please note this site is under construction and not live to anyone right now so ignore any content.
Forum: Themes and Templates
In reply to: How can I retreive the category or page slug?Thanks for the help! I had searched high and low and couldn’t find anything in the codex, turns out I just didn’t know what to look for.
It looks like the body_class tag is exactly what I needed.
One question though — this works great on everything except single post pages. I want the post category to be included in the body class but it only shows “single,” the post id and logged in as body class attributes. How can I get the single.php page to pull in the category?