280 reputation
518
bio website
location Malmö, Sweden
age
visits member for 2 years, 6 months
seen May 21 at 10:31

I'm a website developer. Frameworks that I use are WordPress, jQuery and CSS. Tools I use are Sublime Text, CodeKit, LESS, git, Dash and others.


Aug
17
answered rewrite rule to redirect to the most recent date permalink
Aug
17
comment rewrite rule to redirect to the most recent date permalink
I did as you suggested and made a redirect in the archive template based on a condition. I'll post my solution below.
Aug
17
comment rewrite rule to redirect to the most recent date permalink
Do I understand correctly that you suggest to redirect in the archive-mycpt.php template? Can that be done if the same template is used to display the date archives? Maybe a condition could be used.
Aug
17
asked rewrite rule to redirect to the most recent date permalink
Aug
6
awarded  Commentator
Aug
6
comment Select objects from get_posts()
My code was bad. I can now reference any index.
Aug
6
comment Select objects from get_posts()
Thanks for the list. For some reason I can only reference by index the first eight objects, even though print_r($objects); prints them all out (all 123 objects), as does a foreach loop. I get Undefined offset: 8 for index 8 and other higher that I've tried. Any ideas why?
Aug
6
asked Select objects from get_posts()
Jul
28
revised Paged homepage - requirements?
added 7 characters in body
Jul
28
comment Paged homepage - requirements?
Are the two URL fields in general settings correct?
Jul
28
answered Paged homepage - requirements?
Jun
25
accepted What is the p parameter in a get_posts() parameter array?
Jun
25
asked What is the p parameter in a get_posts() parameter array?
Jun
18
awarded  Tumbleweed
Jun
11
comment One of my pages uses the archive.php template only. Why?
I'm building this site for a customer an it is therefore not yet public. At the moment I'm very busy and it works consistently, but I'll make a new site that exhibits this phenomenon in a few days with posts of the code too. It could be due to what Milo described.
Jun
9
comment One of my pages uses the archive.php template only. Why?
Well I would have added more information if I had know what's relevant. The way some parts of the template hierarchy works is still black magic to me. I'm very grateful for all the information I get that help me understand.
Jun
9
accepted styles/default.css in markup, where does it come from?
Jun
9
awarded  Student
Jun
9
revised One of my pages uses the archive.php template only. Why?
more info
Jun
9
asked One of my pages uses the archive.php template only. Why?