gulliver
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [P2] Add delete to front-end?Thanks. Sorted.
I also want to add a similar front-end ‘delete’ link for individual comments, but don’t know enough to be able to edit functions.php appropriately.
Forum: Themes and Templates
In reply to: [P2] Post format – default to 'blog post' and remove options.Thanks, Siobhan.
Excellent, comprehensive answer.When poring over code yesterday I’d missed the ‘change status to post’ bit in the ‘$post_format = isset’ line.
Now sorted. 🙂
Forum: Fixing WordPress
In reply to: Strip image/code from rss feed?Thanks.
The outline seems simple enough – though I need to read more and experiment with exactly what code to use for the replace.Forum: Fixing WordPress
In reply to: Use slug rather than id for $post->post_parent?Thanks. That works.
I’m using that with ‘document_title_parts’, and wondering if/how your suggestion could be the basis of – on any page – prepending a title with the title of the parent.
Forum: Fixing WordPress
In reply to: Use slug rather than id for $post->post_parent?Thanks.
I should have asked my question more clearly, because i don’t know enough to be able to use your suggestion.
I’m using what’s below to prepend some page/post titles with parent info, and want to replace the id with the slug/name of the parent.
elseif ( is_page('notes') || '2' == $post->post_parent || is_singular('post')) { $title['title'] = 'Notes: ' . $title['title'];}Forum: Plugins
In reply to: [CPT-onomies: Using Custom Post Types as Taxonomies] Incomplete dropdown.UPDATE: My error – while testing, posts were set to private and that’s why no options were showing.
‘Another day, another thing learned.’ 😉
Forum: Fixing WordPress
In reply to: Limit page parent dropdownThanks.
I’ll have to investigate ‘your host is heavily caching PHP’, because I still can’t get this to work.Forum: Fixing WordPress
In reply to: Limit page parent dropdownThanks.
Can I please ask one more thing… with CPT of ‘show’, what do I need to change in your code above? I can’t understand where to put the post_type.Forum: Fixing WordPress
In reply to: Limit page parent dropdownThanks.
I only edited that core file as a test.
I’ll look at it again later.One other thing… can I add a conditional statement to that function so that it’s used on some pages but not others – for example, a specific CPT?
Forum: Fixing WordPress
In reply to: Limit page parent dropdownThanks.
But… I added that to my functions file, and there’s no change – the dropdown is still showing everything.
And editing the core file (wp-admin/includes/meta-boxes.php) also makes no difference.
Forum: Fixing WordPress
In reply to: Modify conditional titles to include parent and page numberThanks.
But isn’t that page for the about-to-be-deprecated wp_title() rather than the subsequent title-tag?Forum: Fixing WordPress
In reply to: Uploaded image – access original after resize?Thanks.
That clarifies.Forum: Fixing WordPress
In reply to: Custom Post Type archive.😉
Hopefully, yeah.
‘I will get by… La dee da da da, La da da da da’.Waaaaaaay off topic, I should stop this nonsense.
Forum: Fixing WordPress
In reply to: Custom Post Type archive.Steve thanks…
Sometimes when looking at forum posts and seeing someone come back for clarification, I think ‘Jeez, you have all the clues there – it’s not that difficult.’
Finding myself (again) in such a position, I think I should return to this later with a clear head… so then, let’s relax with ‘Box of Rain’ and think about anything other than WordPress. Maybe I’m just not suited to this. 😉
Forum: Fixing WordPress
In reply to: Custom Post Type archive.Thanks.
I understand the ‘list children” snippet – and can adapt that to use on various pages.
But I couldn’t adapt it to use on a cpt.I’m clearly failing to understand something which is probably quite straightforward… using my existing knowledge I can produce a page which lists all members of a cpt, but on a page for one member of that cpt I can’t show a list of children of that member.