159 reputation
110
bio website somethingididntdo.com
location
age
visits member for 3 years, 4 months
seen Sep 30 at 17:01

Jul
28
comment Add url from Custom Field as 'Featured Image'. Code not working
No worries! So as far as you can see the code looks like it should work? I mean... no glaring errors?
Jul
28
comment Add url from Custom Field as 'Featured Image'. Code not working
I had a look at Get the Image, it let's you pull images from custom fields. But it doesn't store them or set them as featured (as far as I can see). Ideally I'd like to import all the main images for each post, and attach them using the normal WP media library, then i can get them resized etc automagically as I need and they are available to most plugins
Jul
28
comment Add url from Custom Field as 'Featured Image'. Code not working
Aha, I don't know. I'm still pretty new to WP and PHP in general. I thought add_action( 'init', 'store_cf_featured_image' ); would run it? Maybe it isn't running... How do I make sure? (i assume it is runnign because it was throwing up errors before i put in 'globa $past,$wpdb')
Jul
28
asked Add url from Custom Field as 'Featured Image'. Code not working
Jul
23
comment attach CPT data to a taxonomy
Top stuff. Thanks @tollmanz!
Jul
23
awarded  Scholar
Jul
23
accepted attach CPT data to a taxonomy
Jul
21
awarded  Commentator
Jul
21
comment attach CPT data to a taxonomy
Brill! I get what your saying, sounds perfect. One further Q then... Am I able to get the meta box to act like a taxonomies box? So you simply need type in the title of the Game CPT to add it's game_id? Any chance you can provide an example, as I don't know where to begin with this
Jul
20
asked attach CPT data to a taxonomy
Jun
30
comment Order posts (across the whole site) by metadata date
Okay, i did: (it's here:wordpress.stackexchange.com/questions/21514/…). But was told to come back to this post. Not sure why...
Jun
29
comment Order posts (across the whole site) by metadata date
Am I really supposed to ask back on this when it isn't really the same question? Seems odd... I could add my new question to this, but then it get's long and off point, no? Or am I supposed to just edit this question completely?
Jun
29
comment Order posts (across the whole site) by metadata date
@manny I'm pretty new to php and not entirely sure what you mean. can you clarify or provide an example, please?
Jun
29
comment Order posts (across the whole site) by metadata date
i tried is_archive() previously and it had no effect...
Jun
24
comment Order posts (across the whole site) by metadata date
Okay, updated. At the moment I have it set to 'is_page()' and I am getting round the problem by making pages for each category. But this doesn't work for tags and is laborious. Also it would be good to know the real way it should be done too. Learning is learning :) Thanks Kaiser!
Jun
24
revised Order posts (across the whole site) by metadata date
updated code to be custom name function
Jun
21
comment Order posts (across the whole site) by metadata date
cool, cool (i just copied the code from a website, tbh. I'm new to php & wordpress). Any advance on how to get this to work across the site? I have it working with more custom pages and the same function set to (is_page()) but still this does nothing for my archive pages. I have no clue how to fix them...
Jun
21
comment Order posts (across the whole site) by metadata date
Do you mean that as good practice or to solve this? I tried copying the code in again for 'is_archive' and it did let me call the function again, but sorting didn't work...
Jun
21
awarded  Student
Jun
21
asked Order posts (across the whole site) by metadata date