Osu
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Custom Field Template] Restricting to page templateAre you having the same problem as seen here?
http://www.youtube.com/watch?v=RIfDToXm5IU
This is massively frustrating as I’ve just built a site that’s due to be launched soon that depends on this…would be useful to know if I’m not the only one.
Anyone? Please??? Really need this t work!
For anyone interested, you can hide it with the Admin CSS option
Forum: Plugins
In reply to: [WordPress Category Archive] [Plugin: wp-category-archive] Broken in WP 3.1Hi Hugh,
Thanks for getting back to me. I agree, I think this is something the WP team should change in their canonical function you mentioned – frustrating how they change the core in such a way that plugin developers are cornered with their development.
Do you think there’s a way of doing this by creating a function in functions.php? At least that way, the core edit could be kept within the theme folder.
I agree that posting in the forums about the date and category pages not working 3.1 would be a good idea – do you want to do it, or should I? You’ll probably have more ‘authority’ on the issue considering you know more about it than me!
Thanks
osu
@hugh – I’m not keen on changing the core files. Is there any way to modify the plugin code itself to make this work? Or an alternative plugins that does work without core hacks?
Thanks,
osu
Forum: Fixing WordPress
In reply to: Pagination not working on custom-posts filter results pageThanks for the link – have a look at my code, and you’ll see that I’ve addressed the $paged issue already.
In fact, when I echo out the query being passed to query_posts() ($ft_args), it appears $paged is working correctly i.e. it’s returning ‘1’, so really confused as to why the previous and next links are breaking…
I’m assuming that by submitting the filter form to the same page, I’m changing the loop in a way that knocks out pagination, but how?
Forum: Fixing WordPress
In reply to: No uploads appearing when trying to insert image & featured imageIn the end, I had to register different taxonomies like this:
register_taxonomy( 'fttype', 'ftevent', array( 'label' => __('Type'), 'sort' => true, 'args' => array('orderby' => 'term_order'), 'rewrite' => array('slug' => 'fttype') ) );Seems that the ones I created in the previous code were messing things up for some reason. Is there any way to clean up the database of unused taxonomies etc.?
Thanks
mn
Forum: Fixing WordPress
In reply to: No uploads appearing when trying to insert image & featured imageOk, found the problem – it’s to do with a cutom post event I’m creating. Can you see anything in my code that is a problem? I don’t know what it could be to be honest…not sure why it’s affecting the image display
Thanks
mn
[Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Fixing WordPress
In reply to: No uploads appearing when trying to insert image & featured imageThanks for this esmi, it appears to be my theme – now I need to find out what it is!
I’m using a child theme, so I’m assuming it’s to do with my functions.php file – in fact, just checked and it is to do with my functions.php file. I’m overriding some parent functions, so I suspect it’s something like twentyten_child_theme_setup() that I need to look at. Will get back to you all when I find the solution.
Thanks for your help
mn
Heloooooooo?
🙂
Anyone?
Forum: Plugins
In reply to: Custom Post Type Slug/PaginationCool, thanks for sharing the knowledge!
Forum: Plugins
In reply to: Custom Post Type Slug/PaginationNot sure if that’s possible because a custom post type is essentially a new content type – it’s not a subpage of What we Do > Current Projects, but rather creates a new slug hierarchy – a bit like the categories slug I believe i.e. site.com/category/category-name/.
Would love to be corrected on that though as it would be useful to do.
Forum: Fixing WordPress
In reply to: Shortcodes and template tags – best practice?Fair enough, I think I’m over-complicating things. I’m going to go back to the drawing board with this one. What I was trying to do is let my client add a shortcode to the sidebar as a text widget in order to let them display the latest posts from a specific category.
To do that, I was trying to create a loop in a shortcode, but I’ll look at other possibilities.
Thanks for your help,
osu
Forum: Fixing WordPress
In reply to: Shortcodes and template tags – best practice?Hi semi,
Thanks for getting back to me.
I’m trying to place those template tags/wp functions into the $inner variable within a shortcode which is why I was mentioning shortcodes. But the same is true of any template tag within a function.
What is the correct way to put the template tags/wp functions into the shortcode in the example I gave so that $latestblogposts returns correctly?
Thanks,
osu