Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
1 2 14
Impact
~19k people reached

  • 0 posts edited
  • 0 helpful flags
  • 2 votes cast
Feb
23
awarded  Famous Question
Feb
11
comment Rewrite single template permalink?
Edit: Think I got it to work now. Seems my schools template actually was a Page. So I could change the permalink there. And it also was a file called schools.php on the server (not local somehow) that I maybe created earlier and then removed. So I removed it from the server now anyway. To not cause any problem.
Feb
11
comment Rewrite single template permalink?
Yes, but there must be a connection somewhere. Otherwise /schools/post wouldn't work. You say I have to change my permalink structure. In that case, I want to know exactly how I should change it? Sorry, but I need a more specific answer then just "change your permalink structure".
Feb
11
comment Rewrite single template permalink?
The general permalink structure? How do you mean I should change it? I want the current structure. Just want to translate this template's permalink.
Feb
11
comment Rewrite single template permalink?
This is not a custom post type. This is a custom template for posts. It has been created just by creating the file single-schools.php with the comment /* Template Name: Skolor */ in the top inside it.
Feb
11
asked Rewrite single template permalink?
Jan
6
comment Create page as a file in my theme?
Well, I just still didn't quite understand what to do. For example, how do I use single_template in this case? Have tried doing an easy one just using single_template to only return` to return what it gets. But placing a die() inside to see if it even is called. I think I need a more detailed explanation how to do this :/
Jan
6
comment Create page as a file in my theme?
Problem is still that I don't wanna need to create a new "Page" from Admin.
Jan
6
comment Create page as a file in my theme?
No, I don't want this to be a "database row"-page. I want the file it self to be the page. So no, it's not a template I'm looking for.
Jan
5
asked Create page as a file in my theme?
Dec
10
awarded  Tumbleweed
Dec
9
comment Pass instance number to shortcode child
Waaow... What a awesome answer! Very neat. And it works. I will now study it several times, to learn how it works. Fascinating... Thank you very much!
Dec
9
accepted Pass instance number to shortcode child
Dec
9
asked Pass instance number to shortcode child
Dec
3
asked Create page outside/without administration, inside theme
Nov
16
accepted Get previous posts list
Nov
16
comment Get previous posts list
Aha, I needed <?php wp_reset_postdata(); ?>
Nov
16
comment Get previous posts list
Strange. Some how, this code makes the page doing an redirection to the "Hello world" (first) post.
Nov
15
comment Get previous posts list
I change it continuously cause I'm testing different things. But look at my edit now.
Nov
15
revised Get previous posts list
added 356 characters in body