mongushu
Forum Replies Created
-
Forum: Plugins
In reply to: does cms-press take care of the post_type archive permalinks?more….
for example, lets consider a custom post type of “car”.
First, I’ve edited my index.php file and have added:
if( get_post_type() == 'car' ){ echo 'car'; }
I go to: https://mysite.com/car/
and
car
is echoed out.
However when replace that snippet with this:
if( is_archive() ){ echo 'archive'; }
and then I go to https://mysite.com/car/
nothing is echoed out.
In other words, WordPress does not seem to think that https://mysite.com/car/ is an archive. And I bet this is why it’s not going and retrieving the proper template file.
Any ideas?
Forum: Plugins
In reply to: does cms-press take care of the post_type archive permalinks?Hey All,
I’m stuck exactly here (as described by AlexLakes):
Hmmm. I can’t get any of those templates to work. I even made a fresh installation of WP 3.0, tried again, and still not working.
Let’s assume I have custom content type ‘cars.’ And I want to create an index to view all ‘cars’ posts at https://www.domain.com/cars/. First, I duplicate my theme’s index.php. (I’m using 3.0’s 2010 theme). Then I rename it ‘index-cars.php’.
Is that it?
For me, all the proper content displays as it should @ the URLs according to CMSPress per content_type URL setting, but wordpress seems to completely ignore the templating rules. In other words, ‘index.php’ is being used, and all other template files [named in accordance with WP 3 custom post type templating hierarchy] are ignored. index-my_post_type.php does not work. archive-my_post_type.php does not work either.
any ideas?
WP 3.0.4
CMSPress 0.2.0Forum: Fixing WordPress
In reply to: Import Feature Does Not Import File AttachmentsI had the same situation… and wanted to do them individually…
but i trusted the importer (as i’ve used it before) and I imported exactly 2600 posts at once… took a while… i don’t remember how long…. but at least 30+ minute i believe… but the importer is pretty awesome… batching it all out. worked just fine.
give it a try. you may be surprised…..
Forum: Fixing WordPress
In reply to: Import Feature Does Not Import File AttachmentsHi all. I [sorta] figured out my problem here.
If I only export a selection of posts using the provided drop downs (lets say selecting to export only from a particular category) and then IMPORT, I DO NOT get any file attachments to transfer according to my checkbox preference. I do not receive any errors, and all selected post data gets imported.
However, if I select to just export ALL posts from a blog, ignoring the dropdown options provided, and then IMPORT from that file, I DO INDEED get all attachments and post data uploaded and transfered to the new blog.
Forum: Fixing WordPress
In reply to: Import Feature Does Not Import File Attachments*bump
same problem here.
Forum: Fixing WordPress
In reply to: Comment html is being strippedLine # 158 of Main.php in the fresh-page folder of the Flutter plugin:
add_filter('pre_comment_content','flutter_kses');
Comment that line out:
//add_filter('pre_comment_content','flutter_kses');
Then your comments html will not be stripped out.
Forum: Plugins
In reply to: WordPress 2.8 RC breaks post types in More Fields pluginSomething to note as well. I think the 2.8 + More Fields bugs are not adequately solved yet.
After implementing Jazbek’s fixes on a new installation of WP 2.8 I am unable to expand/contract many Admin area panels and menus and am unable to grab onto draggable items like widgets in the Appearance –> Widgets page.
After deactivating the plugin, everything worked as it should.
Such a bummer, because morefields was a dream come true for the kind of wordpress work i do.
EDIT: i’ve tested this in Safari 4, and Firefox 3 (mac)