Single page theme

I am trying to create single page theme. What i have trouble with is understanding this whole wordpress query logic. There is query object and supposedly i get all published posts like this: $query = new WP_Query( array ( ‘orderby’ => ‘menu_order’, ‘order’ => ‘ASC’, ‘post_type’ => array( ‘page’ ), ‘post_status’ => array( ‘publish’ ) … Read more

How to create a wordpress template without using any page

I’m not sure WordPress was build for this, but this is what I’m trying to achieve: I want to make a specific URL inside wordpress accessible, for example www.example.com/some-template . This specific URL should be editable from a php file, part of an existing wordpress theme I’m working on, something like some-template.php) This is the … Read more

“Undefined reference to” template class constructor [duplicate]

This question already has answers here: Why can templates only be implemented in the header file? (17 answers) Closed 7 years ago. I have no idea why this is happenning, since I think I have everything properly declared and defined. I have the following program, designed with templates. It’s a simple implementation of a queue, … Read more

Override comments.php template with plugin

How can I override default theme/WP Core comments.php template with my own in the plugin? I searched for different solutions, but they don’t work for me. Or how to hook to the end of any post (even custom post type) to display my custom comments? 1 Answer 1 The comments_template hook: add_filter( ‘comments_template’, function ( … Read more

Recommend an open source, template driven website builder UI that produces a working WordPress site [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for … Read more