daveydreamnation
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Chaplin] Portfolio post types and ChaplinHi @cogdog and thanks for your reply. I can see from your other post that you’ve been wrestling with similar issues!
You are right regarding the child theme, I actually went and created one shortly after writing my original post.
Thanks also for sharing your code for a custom post-meta function … I will give it a go and see if it works!
I agree re Jetpack, am trying everything possible to avoid using it. But I guess for others it might be a useful option.
Forum: Themes and Templates
In reply to: [Chaplin] Portfolio post types and ChaplinOkay so I worked out how to make the custom post templates available for portfolio posts.
I edited the individual template files within the Chaplin theme. For example, for the Chaplin: Cover Template Page Template (template-cover.php), I added ‘portfolio’ to the list of post types at the top of the file:
/*
Template Name: Cover Template
Template Post Type: post, page, portfolio
*/And repeated for the other post templates.
So that’s great, but I am still not sure how to add custom metadata for the portfolio posts. Is there a specific template part where I can do that?
Thanks in advance …
David
Forum: Fixing WordPress
In reply to: MySQL database import error – #1064Just thought I’d post again to say how I figured this out, in case anyone else has a similar problem …
All I had to do in the end was drop the mt_author row from the table created by the import – the rest of the rows (wpposts etc) had already uploaded and I didn’t need any of the MT data anyway. For some reason when I exported from my old version of WP, it had also exported all of my MT posts (which I thougth were saved in another database but must have been in the same one …)
Anyway, once I deleted the mt rows, I went back to my WP login screen, which told me my database was out of date, which was easy to fix – I then had to try and log in again, which required me to request my password again, for some reason …
All of which is a long-winded and probably useless way of saying it finally worked. But maybe it will help someone, some day …
D
Forum: Fixing WordPress
In reply to: MySQL database import error – #1064Thanks –
I will give those two a go, and if I end up figuring it out, will post again to this thread.
Greatly appreciate your help!
D
Forum: Fixing WordPress
In reply to: MySQL database import error – #1064Thanks for the reply – it’s certainly correct that I’m not good with phpmyadmin … ??
I’m assuming I need to delete the reference to mt_author from the sql file – but I can’t seem to extract the whole file from the zipped export file …
Any suggestions? Thanks again …