I was a WordPress dev a few years ago and I want to know if what I know is still current. Building a WordPress website from static HTML and Jquery and so on. Is it still just adding the normal WordPress init files and code. To get it running.
Is it still common to use custom post type and custom fields for the content on the page?
Sorry, I may need to get back into it and I’m in a little panic.
Thanks.
]]>I’ve been search for what seems like ages for the winning tutorial, but apparently I’m lacking the required keywords. Hope you can help me out!
User stories for my custom WordPress theme:
– Enable registered users to create & edit custom post types (“content”) through the frontend
– Enable registered users who have created “content” to submit their content for admin review
– Enable admins to approve “content in review” for publication
– Publicly display approved content on a public archive
How am I building the custom theme?
– For scratch. Ideal solution doesn’t use plugins.
What did I learn so far?
– Processing frontend form submissions doesn’t seem to cover my case, as the content generated aren’t (?) necessarily linked to a user
– Repurposing “draft” content as “private” seems not to work because I can’t force a review when switching from one to the other
– .. not much else unfortunately
Hope you guys can hook me up with some tutorials or high-level principles I need to dive into to solve this (ideally without a lot of custom code, as I’m not exactly an expert).
Cheers!
Olivier
]]>So two questions for you guys:
Does this sound like a project that would be right for WordPress or would it end up causing more headache and time than just doing it from scratch?
Has anyone had experience with trying to modify and customize plugins for their specific purpose? And if so, is it a simple process or do you run into immediate or future problems?
Any input would be greatly appreciated.
Thanks
here is the index.php
<?php
get_header();
if (have_posts()):
while (have_posts): the_post(); ?>
<article class="post">
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<?php the_content(); ?>
</article>
<?php endwhile;
else:
echo '<p>No content found</p>';
endif;
get_footer();
?>
it’s my understanding that this will call a default footer from wp-includes/theme-compat/footer.php. Anyone no why it would be blank and what i can do to fix?
]]>