mcography
Forum Replies Created
-
It’s set to 5. However, I do not want to increase it, because I want my main blog page to only display 5 posts.
There’s got to be a way to force taxonomy.php to display all posts without messing with the main blog settings, I just can’t seem to figure it out…
Unfortunately, that question was never resolved. I tried checking out some of the links that people suggested, but they did not work.
Does anyone have any other ideas on how to modify my code so it displays all of the posts?
Thanks for your help, but unfortunately, that didn’t work. It just broke the thumbnail images…
Forum: Fixing WordPress
In reply to: Custom Taxonomy Template/ArchiveIf it helps, I also have this code in my CPT plugin file.
add_filter( 'template_include', 'include_template_function', 1 ); function include_template_function( $template_path ) { if ( get_post_type() == 'work' ) { if ( is_single() ) { // checks if the file exists in the theme first, // otherwise serve the file from the plugin if ( $theme_file = locate_template( array ( 'page-work.php' ) ) ) { $template_path = $theme_file; } else { $template_path = plugin_dir_path( __FILE__ ) . '/page-work.php'; } } elseif ( is_archive() ) { if ( $theme_file = locate_template( array ( 'archive-work.php' ) ) ) { $template_path = $theme_file; } else { $template_path = plugin_dir_path( __FILE__ ) . '/archive-work.php'; } } } return $template_path; }Is there a way to edit it so that it doesn’t default to archive-work.php for the project types? I’m new to CPTs and custom taxonomies, so I appreciate any help you can provide. Thanks.
Forum: Fixing WordPress
In reply to: Custom Taxonomy Template/ArchiveThe problem appears to be that it is calling archive-work.php rather than any of the taxonomy templates I created. That doesn’t make sense to me, because according to the template hierarchy, it should look for the taxonomy templates first. I’m confused.
Forum: Fixing WordPress
In reply to: WordPress Import Not Working – Photos Not Attached to PostsI found a splitter here, but the smallest increment it will split into is 1 MB. My file is only 779 KB, so that won’t really work. Any other ideas?
Forum: Fixing WordPress
In reply to: WordPress Import Not Working – Photos Not Attached to PostsHmm, it looks like that program is for Windows, and I have a Mac. I will look for a Mac equivalent. However, I’m not sure that file size is the issue since my file is only 779 KB. But I guess it’s worth a shot…
Forum: Fixing WordPress
In reply to: WordPress Import Not Working – Photos Not Attached to PostsThanks, esmi. I’ll check that out and report back.
Forum: Fixing WordPress
In reply to: WordPress Import Not Working – Photos Not Attached to PostsI just signed into cPanel and clicked on Error Logs, and there is nothing there. No errors at all…
Forum: Fixing WordPress
In reply to: WordPress Import Not Working – Photos Not Attached to PostsDo you mean mcography.com? I’m not sure – I’ve never tried to access them. Where would they be located?
Forum: Fixing WordPress
In reply to: WordPress Import Not Working – Photos Not Attached to PostsI uploaded them to my wordpress.com blog via the media importer in the dashboard.
Thanks for trying to help me figure this out, by the way.
Forum: Fixing WordPress
In reply to: WordPress Import Not Working – Photos Not Attached to PostsNo. They’ve never been connected at all.
Forum: Fixing WordPress
In reply to: WordPress Import Not Working – Photos Not Attached to PostsThe site I am exporting from is http://megancarroll.wordpress.com/. The site I am importing to is http://mcography.com/test.
Forum: Fixing WordPress
In reply to: WordPress Import Not Working – Photos Not Attached to PostsDoes anybody else have a suggestion? Is there a way to contact the WordPress team to let them know the importer doesn’t work correctly?
Forum: Fixing WordPress
In reply to: WordPress Import Not Working – Photos Not Attached to PostsThanks for responding, but I’m not sure what you mean by “FTP the images separately after.” How do I do that and ensure that the photos are all linked to the proper posts?