203 reputation
114
bio website wibergsweb.se
location Sweden
age 40
visits member for 1 year, 2 months
seen 20 hours ago

I'm developing both code and my own company Wibergs Web. I live in Skövde, Sweden - and I'm enjoying life even though I haven't seen any polar bears here recently ;-)


Nov
3
comment tax_query showing no results
@ubermatress - please put that code in your question instead. it's easiser to read :-)
Nov
3
comment tax_query showing no results
How do you output the data? (the code givens doesn't display anything, it just stores the WP Query object in $tracks_query-variable.
Nov
3
comment tax_query showing no results
Have you checked if the actual taxonomy does exist? codex.wordpress.org/Function_Reference/taxonomy_exists
Nov
3
comment Do I have to widgetize my pages?
I'm not using any plugins with widget-support. But my question is more about if I have to widgetize my pages in my scenario? I guess the answer is a simple yes then?
Sep
19
comment Custom post types related to same custom post type?
I found a plugin for exactly my needs. It was simply called Related and was exactly what I was looking for. Forgive for not accepting this answer before. But now I will :-)
Sep
15
comment How can transfer get so large when exporting data (15-16MB to over 10GB)
In case someone else stumbles upon this issue the webhosting company had a memory limit setting of 96MB as default setting for all customers, but increased that to 128MB so I could export my database from WP.
Sep
15
comment Display all posts from all categories with pagination
Is the issue that it doesn't work with pagination? Then change post_per_pages from 1 to a larger value. -1 = no limit, >0 a specific number of posts that should be shown on each page of the pagination set. Look at codex: codex.wordpress.org/Pagination for how to create pagination links etc.
Sep
15
comment Display all posts from all categories with pagination
This is not "do coding for me site". Please try and show your attempt, then I will help you further.
Sep
15
comment Display all posts from all categories with pagination
I wouldn't use a new category for a year/date/month etc. Just put posts in there and filter out post based on year.
Sep
15
comment Custom post types related to same custom post type?
"I suspect what you're trying to do is implement related posts, and you're using post meta to indicate which posts are related to the current post." YES. I basically should have a custom taxonomy called productrelations or something like that? (and in the taxonomy store product and related product for each row). I just want the loggedin-user to manually set related products (no need for automatic ones)
Sep
15
comment Custom post types related to same custom post type?
Sorry for the confusion. I just want somehow to make it possible for logged-in user to set related posts (cpt = product) for a specific post.
Sep
15
comment How can transfer get so large when exporting data (15-16MB to over 10GB)
Ok, thanks a lot!
Sep
15
comment How can transfer get so large when exporting data (15-16MB to over 10GB)
thanks for explanation. Of course I just took for granted that 100663296 was 10GB ;-) I know the hosting have a limit for the database for 100MB. Is that the issue then?
Sep
9
comment Admin bad not appearing in front end and cant get it back
Try using Firebug and see if the element is there (and hidden). That would be a starting point to see where you would have to search
Sep
8
comment How to order custom post type by multiple custom fields?
I know this is an old post, but it took a while to figure out that $wpdb->prefix.'postmeta.meta_value should be $wpdb->prefix.'postmeta.meta_value ASC in orderbyreplace()
Sep
8
comment WP Query orderby meta key natural sort?
Ok. I've tried it, so I've figured that out. I just had to try :-)
Sep
8
comment WP Query orderby meta key natural sort?
Ok thanks a lot! Maybe I even could use WP 4.0s array input of ordering then. make.wordpress.org/core/2014/08/29/… Anyway, I will figure it out now! :-)
Jun
12
comment Difference between get_category, get_term_by and get_categories
Aaah of course - about the get_category() that only returns the "category-part" and not the actual term. Thanks a lot!!
May
14
comment wp_reset_postdata() or wp_reset_query() after a custom loop?
Ok, thanks for clarifying! :-)
May
14
comment wp_reset_postdata() or wp_reset_query() after a custom loop?
So basically you're saying: Only use wp_reset_postdata() and the codex has a poor example? (If you want to do it correct)