208 reputation
114
bio website wibergsweb.se
location Sweden
age 40
visits member for 1 year, 3 months
seen Dec 17 '14 at 22:05

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 ;-)


Sep
15
answered Js file is not adding using this code in functions.php
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
answered How to redirect to edit.php page after saving the post,product and showing the message “post saved ”
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
revised Custom post types related to same custom post type?
added 3 characters in body
Sep
15
asked Custom post types related to same custom post type?
Sep
15
accepted How can transfer get so large when exporting data (15-16MB to over 10GB)
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
15
asked How can transfer get so large when exporting data (15-16MB to over 10GB)
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
answered WP Query orderby meta key natural sort?
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
accepted WP Query orderby meta key natural sort?
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! :-)
Sep
8
asked WP Query orderby meta key natural sort?
Sep
3
revised Is it possible to hook AJAX to UPDATE-button?
added 243 characters in body
Sep
3
asked Is it possible to hook AJAX to UPDATE-button?