prologuemedia
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: pre_get_posts problemI changed the code to this:
function exclude_category( $query ) {
if ( $query->is_home() && $query->is_main_query() ) {
$query->set( ‘category_name=services’ );
}
}
add_action( ‘pre_get_posts’, ‘exclude_category’ );And the posts still appear.
Forum: Fixing WordPress
In reply to: pre_get_posts problemOk, I figured out the error (The function was being declared twice). Now the page loads but, it is not excluding the category on the page as I had hoped.
Forum: Fixing WordPress
In reply to: pre_get_posts problemTo be honest, I am not sure. I am just getting an Error 500 on the homepage.
Forum: Fixing WordPress
In reply to: pre_get_posts problemOk. If I replace it with this:
function exclude_category( $query ) {
if ( $query->is_home() && $query->is_main_query() ) {
$query->set( ‘cat’, ‘-4’ );
}
}add_action( ‘pre_get_posts’, ‘exclude_category’ );
I still get an error.
Forum: Plugins
In reply to: [Promotion Slider] [Plugin: Promotion Slider] Custom thumbnail imagesThanks for the guidance. I am going to chew on this and see if I can get a vision.
Forum: Plugins
In reply to: [Promotion Slider] [Plugin: Promotion Slider] Custom thumbnail imagesNot sure where to begin with that direction. The filter is added where?
Forum: Plugins
In reply to: [Promotion Slider] [Plugin: Promotion Slider] Custom thumbnail imagesIt looks like a piece of code to remove titles. Am I reading that correctly?
Forum: Plugins
In reply to: [Promotion Slider] [Plugin: Promotion Slider] Custom thumbnail imagesSorry about that. I am wanting to use thumbnails for the navigation that I generate and not those that WordPress creates. Does that make sense?
Forum: Fixing WordPress
In reply to: Upload files from a page?Live post
Forum: Fixing WordPress
In reply to: Showing other posts at the bottom of a postThanks. That is part of it but, running the loop to populate both columns is the other question in this.
-gl
Forum: Fixing WordPress
In reply to: Disply list post by first letter and on two columnsDo you mind sharing this? I need a similar solution.
-gl
Forum: Themes and Templates
In reply to: Editing/Styling 2010 theme Archives and CategoriesI have actually copied the 2010 theme so that wouldn’t happen. How do you theme the archives specifically? Since the 2010 theme uses loop.php pretty exclusively, I assumed you would style the archives in there but, I have not found any code for it.
Forum: Themes and Templates
In reply to: Editing/Styling 2010 theme Archives and CategoriesDo you have to create a child theme in order to style the archives?
Forum: Themes and Templates
In reply to: 2010: Sidebar issueWow. I guess the validators don’t see those as well as I thought they would. Thanks very much for seeing that.
Forum: Fixing WordPress
In reply to: How do I do incorporate a blog and CMS in the same installation?Did not know about category templates. Thanks!