How to execute this one using the WYSIWYG Visual HTML Editor (Post Editor)
-
Hello Everone,
I really need help about this one on how to execute this using the Post Editor(HTML Editor)
<?php $querystr = "SELECT wposts.* FROM $wpdb->posts wposts"; $querystr .= " WHERE wposts.post_status = 'publish' "; $querystr .= " AND wposts.post_type = 'post'"; $querystr .= " ORDER BY wposts.week_module ASC "; $myposts = $wpdb->get_results($querystr, OBJECT); foreach($myposts as $post) : setup_postdata($post); the_title(); endforeach; ?>
I have already installed a plugin that will execute a PHP code but it seems it does not work…
Thank you so much… ??
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘How to execute this one using the WYSIWYG Visual HTML Editor (Post Editor)’ is closed to new replies.