bestprogrammerintheworld

less info
157 reputation
11
bio website wibergsweb.se
location Sweden
age 40
visits member for 6 months
seen 3 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 ;-)


4h
comment Trying to set specific image dimensions and crop with ACF
Yes. I've tried to upload several images after that as well. But somehow it seemed to be the issue anyway. When I uploaded a new image second time it worked perfectly. THANKS a lot for your feedback!
4h
comment Trying to set specific image dimensions and crop with ACF
Ok. Forgive me for being a little vague. I understand that is just which thumbnail that is shown in the preview (and has nothing to with frontend). But not even that works.
5h
comment Trying to set specific image dimensions and crop with ACF
Ok. So you're saying it's not possible to create own sizes with ACF ? (It must be one of the sizes in the admin panel?)
5h
comment List all native posts in template page?
aha. Ok, thanks once again!
10h
comment how to link to the next/prev posts in index loop in same category?
Category selection? The only thing the "link-functions" does it to include link and title of next and previous posts. How exactly do you want it to look like? Please give at least one example (update your question)
10h
comment Trying to learn wordpress
I want to learn how to build cars. Can anyone help ;-)
10h
comment echo vs output variable
As said this is not WP-related. The time that it has to be rendered should still be the same cause the two functions are executed in both scenarios.
10h
comment Order posts by category name
Exactly what do you mean by "order posts by category" ?
10h
comment Please help: Image dimensions
"i know to combine images using CSS sprites is require some kinda hard work" Yeah right ;-)
10h
comment how to link to the next/prev posts in index loop in same category?
You say it doesn't work. What happens?
11h
comment List all native posts in template page?
Anyway - It was your code with removing and restoring the pre_get_posts - filter hook that really made my day. THANKS A LOT!!!
11h
comment List all native posts in template page?
Your qualified was very correct!!! Once again a plugin I think is very useful (Post Types Order) messed things up for me. I get the thing with unsetting pre_get_posts-filter. But I'm not sure what suppress_filter actually does? What "kind" of filters?
1d
comment I am having problem sorting custom post type using WP_Query
done. I have to wait 2 days before I can accept my own answer though...
1d
comment I am having problem sorting custom post type using WP_Query
I just figured it out. It's a plugin called Post Types Order that is ovverriding the WP_Query functionality somehow which makes the admin able to sort different post/categories etc.
Apr
7
comment How to display a listing template of a certain taxonomy?
Ok, thanks very much for the clarification and your effort trying to make sense of my question :-)
Apr
7
comment How to display a listing template of a certain taxonomy?
Yes, but if you read_ "When taxonomy-brands.php is saved, we can now visit example.com/cameras/brands/canon to view our Custom Taxonomy archive:". It does not say that you can access example.com/cameras/brands directly. I've tried this as well, just by adding has_archive to true in the cpt, but still it does not work as I wanted to.
Apr
7
comment How to display a listing template of a certain taxonomy?
haha :-) But still. It didn't say I'm best at WP ;-)
Apr
7
comment How to display a listing template of a certain taxonomy?
Hm. I can't get this to work either (even it seems most logical). I still don't understand. Should I access the page with domain/taxonomy-categorycourses ? (I tried that and tried domain/categorycourses) but I still have the same issue.
Apr
4
comment Ajax returning correct data BUT at wrong place
I actually used json_encode in my first attempt, but then I didn't have die() in the end of the ajax-function... therefore the confusion.
Apr
4
comment Ajax returning correct data BUT at wrong place
YES, thank you. It was as simple as that!!! :-) I thought the ajax-hooks were handling this automatically because some tutorials I have read did just put echo 'string' and did not do any json-encoding on the serverside. Thanks a lot!