How can I use one instance of page.php to display different custom post types?
How can I use one instance of page.php to display different custom post types?
How can I use one instance of page.php to display different custom post types?
WordPress doesn’t respect Page slug in custom post type url pagination. Keeps getting removed
I would first do the same procedure you outlined in your comment with one of the ‘twenty’ themes. If that fails, then I would temporarily disable the plugins 2-3 at a time to see if that makes the problem go away. Also, just for grins, do a reinstall of WP from the Admin, Update page. … Read more
Taxonomy counter on Taxonomy List(plugin)
Permalink for custom post type pages not working
Sort custom post archives by a meta value from a different custom post type?
I did by removing backslash(/) from Date. $resultdob = $_POST[‘studentdob’]; $studentdob = str_replace(“https://wordpress.stackexchange.com/”, “”, $resultdob);
You cannot do this without modifying WordPress core files.
Most probably you need a bunch of divs etc duplicated in both archive-custom.php and the shortcode. Identify those divs, and move them into a new template file in your theme, e.g. in part-archive-custom.php. Then, delete them from archive-custom.php and add a call to get_template_part(‘part-archive-custom’); instead. Do the same inside your shortcode.
Solved my own question after further research and testing 🙂 Ended up using 2 queries passing the result from one query to the other. Hope this helps someone. $argsIssues = array( ‘post_type’ => ‘magazine’, ‘post_parent__in’ => array(20321), //get issue(children) posts from the issues(parent) ‘fields’ => ‘ids’ //query only the postIDs ); $q = get_posts( $argsIssues … Read more