iwildeachit
Forum Replies Created
-
Forum: Plugins
In reply to: [Widget Logic] Problem with is_home() – not workingI was also able to get the randon widgets to disappear by adding && !is_home() to the widgets that appeared, but that just seems a bit hacky. I have a lot of widgets on my site, and a fair amount of customized logic.
Forum: Plugins
In reply to: [Widget Logic] Problem with is_home() – not workingI have tried doing that.
Unfortunately, I get the same result (no sidebar widgets on front page.)Forum: Plugins
In reply to: [Widget Logic] Problem with is_home() – not workingI thought I added my solution, but apparently I didn’t.
In my /includes/entry.php file, I added:
<?php wp_reset_query(); if ($show_sidebar) get_sidebar(); ?>
near the end of the file and removed the reset_query on the last line.This allowed me to use is_home() to display widgets on the homepage.
Forum: Plugins
In reply to: [Widget Logic] Problem with is_home() – not workingEverything seemed to be working correctly…
Then, all of a sudden random widgets started appearing on the homepage.Could someone more knowledgeable than myself in PHP, please review my code and make sure I have my query_reset’s in the correct area?
I would truly be grateful!
Forum: Plugins
In reply to: [Widget Logic] Problem with is_home() – not workingI found a solution. I had to perform a query reset before calling the dynamic sidebars.
After all that, it ended up being the form plugin that was giving me problems. It’s not a bug or anything with the plugin, I just forgot to add a required field.
What is the emoticon for blushing? ??
I added the function to my functions.php file and disabled my roles plugin and Custom Post Types are still being saved as drafts upon creation. Any more ideas?
1. The correct author’s name is being displayed for the post owner in the dashboard.
2. I am using the User Role Editor plugin from : https://www.shinephp.com/user-role-editor-wordpress-plugin/
Here is a cap of my contributor role permissions: https://i39.tinypic.com/16a6rls.png
All I have had in the field so far was ‘post’. I tried creating a new post under my ‘topic’ custom post type, but it still shows up as a draft in the users backend. I’m lost.
Forum: Plugins
In reply to: Remove 'Save Draft' and 'Reset' from QuickPress Widget on DashboardFound it in the file:
/wp-admin/includes/dashboard.phpIt will have to be removed if I upgrade this WordPress install, but it took care of the problem for me.
Got it. I had my form set to create the wrong custom post type. It was set to post instead of topic.
I have a Custom Post Type named ‘Topic’. I created a template named single-topic.php and removed the necessary code. It didn’t work.
I created a template called single-post.php with no comment code and it successfully removed the comments.
Any idea why it’s not working for the custom post type?
I have done that, but my reply box still shows up on my site. It is being read from my single.php site, being that my custom post type is still a post.
Forum: Fixing WordPress
In reply to: How do I style the latest post?If this isn’t too much work, could you also tell me how to style the text for this box?
It is keeping the same styles as the rest of the site.For instance, I would like the title and content to be white with a dark background for the first post only.
Forum: Fixing WordPress
In reply to: How do I style the latest post?The first post is getting the style applied to it, but my theme’s #content .post style is applying the gray background color over top of the blue color defined in your .post.latest-post style. I’m not sure how to fix this…
Thank you