Taxonomies starting with a hyphen (minus) to assign B.C. dates to a post
Taxonomies starting with a hyphen (minus) to assign B.C. dates to a post
Taxonomies starting with a hyphen (minus) to assign B.C. dates to a post
For example, category SPORT is available on /sport and /category/sport. I would like to keep only one. I tried to reproduce that issue and I could confirm it’s true, at least in WordPress v6.0.1 with the default setup, where WordPress is adding a rewrite rule (which is put at the very bottom in the rewrite … Read more
How to link ACF relationship field to the new Query block in Full Site Editing
It’s easy if all posts are shown on the same page, then you can do: $AZposts = get_posts(array( ‘numberposts’ => -1, ‘post_type’ => ‘post’, ‘orderby’ => ‘title’, ‘order’ => ‘ASC’, ‘category’ => $cat )); $current = “”; $nav = “”; $postlist = “”; foreach($AZposts as $AZpost) { $firstletter = strtoupper(substr($AZpost->post_title,0,1)); if($firstletter != $current) { $postlist … Read more
I’m going to leave the JavaScript/jQuery of the scroller up to you. But basically, run a loop of dates in that scroller. Then, when clicked, pass that date via AJAX to the server. Then use that date to query_posts, which you then return and insert into your dom. Use http://www.garyc40.com/2010/03/5-tips-for-using-ajax-in-wordpress/ for the AJAX functionality. I … Read more
Simply use the term id to replace ” and the taxonomy name to replace get_query_var( ‘taxonomy’ ). echo term_description( $term_id, ‘your_custom_tax_name_here’ ); P.S. Have you ever heard about Codex?
It sends you to the next/prev post by date of been published. I don’t know what gives you these next/prev links and where (single.php, category.php, archive.php or any other custom template file). Without knowing more (some code example) all that I can give to you is this: $page_nr=”&paged=”; $page_nr = get_query_var( ‘paged’ ) ? $page_nr.get_query_var( … Read more
I’ve found a workaround. $content = get_post_field( ‘post_content’, $latest_post[“ID”] ); $content = strip_tags($content); $content = wp_trim_words($content); and then just echo $content instead of the excerpt
Have a look at http://wordpress.org/extend/plugins/simple-yearly-archive/ Or if you want to code it yourself have a look at wp_get_archives http://codex.wordpress.org/Function_Reference/wp_get_archives
http://wordpress.org/extend/plugins/tags/author http://wordpress.org/extend/plugins/author-info-widget/ http://wordpress.org/extend/plugins/author-bio/ http://wordpress.org/extend/plugins/author-exposed/ Or you can use your own custom solution