Forum Replies Created

Viewing 15 replies - 61 through 75 (of 106 total)
  • Thread Starter tictok

    (@tictok)

    Thanks –?I’m heading in that direction, but was wondering if the CPTs might give me more flexibility.

    I know it’s against the grain bit, but I wish it was possible to easily create my own post formats.

    If I stick with the category route I’m going to have to figure out how to create custom fields for a couple of categories. I’ve used the ACF plugin before, but would like to do it without a plugin if possible.

    Thanks!

    nice one Joost – all good now.
    Thanks for all your work ??

    Great plugin – but unfortunately same here too:

    The plugin generated 235 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Also see PHP Warnings about rtrim on various CPT archive pages:
    Warning: rtrim() expects parameter 1 to be string, object given in /home/user/html/wp-includes/formatting.php on line 1381

    Same issues occurring for me in 1.4.2 and 1.4.3

    Hiya – having same problem.

    Narrowed it down to using either the CPT-onomies plugin or Yoast’s SEO (or a combination of the two).

    Warning: rtrim() expects parameter 1 to be string, object given in /home/username/public_html/wp-includes/formatting.php on line 1381

    Will keep an eye on this thread and post if I find anything.

    Thanks

    Thread Starter tictok

    (@tictok)

    Awesome.
    I won’t hold you to it, but want to say thanks in advance. ??
    I’ll mark this resolved for now.
    Cheers!

    Thread Starter tictok

    (@tictok)

    Hi Rachel
    wow – Super speed reply. Thanks ??
    That’s really great news that it’s going to be included in the future.

    This is the kind of question I guess every dev really doesn’t want to hear, so feel free to tell me to get lost, but do you have a loose ETA / guesstimate when your next release might be?

    Wondering if I should look for alternate ways to complete my goals in the meantime or whether I should hang on for a month or two? (I’m really hoping the latter! ;o)

    Just to add to this incase it helps anyone…

    I came across the same problem where only the more recent posts where showing up on the map.

    After playing around for a short time I discovered that changing the publish date of the post to something more recent made the post appear on the mashup map. Save me sometime as I was about ready to re-create 30 odd posts!

    Thread Starter tictok

    (@tictok)

    After poking around in the msql database I think what I need to be able to do is define the term relationships (wp_term_relationships) between a custom postype and a custom taxonomy.

    Somehow I need to figure a way to do this semi-automagically by uploading a CSV file for terms and posts. Any ideas?

    Thanks

    Thread Starter tictok

    (@tictok)

    Hiya Raymond –

    Thanks for replying.
    I tried your suggestion but unfortunately it doesn’t work for me.

    When you say

    Then each time you add a case study you’ll be able to attach it to a branch page

    do you mean make the case study custom post type a child of the branch page?

    I might be wrong but wordpress doesn’t let you make different post-types parents or childs of each other…

    However, I’ve got an idea to try in the morning, it’s a bit of a cheat but will let you know if it works.

    Thanks
    Stef

    Forum: Fixing WordPress
    In reply to: Custom Page Types?

    If my understanding is correct, a page is just another ‘post-type’ but a heirarchical one.

    So, all you need to do is to set up a new ‘custom-post-type’ and within your code for registering the post type make sure to set;

    ‘hierarchical’ => true,
    ‘supports’ => array(‘title’,’editor’,’page-attributes’)

    I think those options will make it behave like a page within the edit screen

    Can anyone confirm if thats correct?
    Someone please correct me if I’m wrong.

    Thanks
    Stef

    Thread Starter tictok

    (@tictok)

    Another option to get a logical URL structure, but I don’ know how to do it, would be to somehow ‘cheat’ the permalink to look like CPT’s are children of each other. Is this possible?

    Thanks

    Thread Starter tictok

    (@tictok)

    Great – thanks.

    I’ll try it out after then weekend.
    It was mainly to keep things simple for my client when they are in the admin back end. I found a work around by hiding the ‘Posts’ menu from them which did the job, but this might be the cleaner way to to do it.

    Many thanks!

    I had the same issue.

    For me deactivating the WP Tables Reloaded plugin that I also use throughout my site fixed the issue, so I have a feeling it was maybe to do with a javascript conflict….

    Didn’t look into it any further than though. Once magic fields was working correctly again I found an alternative way to create my tables.

    Maybe try disabling other plugins to see if magic fields starts working correctly again…

    Cheers
    Stef

    Thread Starter tictok

    (@tictok)

    a-ha … I fixed it.

    Here’s the solution that worked for me.

    I used to only have the default post type, but had created a custom taxonomy (called ‘Regions’) and everything worked fine.

    then I recently created two further custom post types. So now there are three post types (i.e. ‘Posts’, ‘Branches’ and ‘Products’ ) and one custom taxonomy (‘Regions’).

    Its seems this is where my problem with top level pages returning 404’s when using custom permalinks started.

    At this point my custom Taxonomy isn’t tied to any particualr post type, but as soon as I attach it to a custom post type (in this case attaching Regions to Branches) it fixed my problem with top level pages and custom permalinks.

    So, in my functions.php;

    register_taxonomy('regions',array (
    0 => 'branches',
    ),array( 'hierarchical' => true, 'label' => 'Regions','show_ui' => true,'query_var' => true,'rewrite' => array('slug' => ''),'singular_label' => 'Region') );

    It seems the 0 => ‘branches’ is the part I was missing.
    Its possibly something I should have done int he first place, but I didn’t realise this was necessary!

    Hope that helps someone.

    Cheers
    Stef

    Great stuff attitude_sk – thanks so much!
    Just what I needed right now ??

Viewing 15 replies - 61 through 75 (of 106 total)