jampafoo
Forum Replies Created
-
Forum: Plugins
In reply to: [Modern Events Calendar Lite] Elementor Title and Text Editor ConflictForum: Plugins
In reply to: [Post Types Order] Plugin not working with WP 5.6This worked for me. My issue was that I could no longer move cpt’s around. Not sure this will fix the larger issue above.
In the custom post type function change:
‘hierarchical’ => true
to
‘hierarchical’ => false
- This reply was modified 5 years, 2 months ago by jampafoo.
Forum: Plugins
In reply to: [Post Types Order] Plugin not working with WP 5.6SAME. Need an update!
Forum: Themes and Templates
In reply to: Menus not displaying on archive pagesPerfect! Thanks adtowle! Your code fixed my problems with my menu disappearing on the archive by categories! Thanks for posting.
So, thanks to this post I have achieved what I need with taxonomy categories and their siblings on the taxonomy-{yourtaxonomy}.php page.
I am using this code in a sidebar, and call this sidebar on the custom taxonomy page. I am calling it on a single too (single-yourtaxonomy.php). I am trying to get the same results as on the taxonomy page but haven’t quite got that yet. I will also be calling it on the archive page (archive-yourtaxonomy.php)! Maybe someone can give me some hints??
<?php $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); // get current term $parent = get_term($term->parent, get_query_var('taxonomy') ); // get parent term $children = get_term_children($term->term_id, get_query_var('taxonomy')); // get children // Category Views if (!is_single()) { // Main Categories if (!$parent->term_id && sizeof($children) > 0) { echo 'YOURE INSIDE A CATEGORY'; $args = array( 'child_of' => $term->term_id, 'taxonomy' => $term->taxonomy, 'hide_empty' => 1, 'hierarchical' => true, 'depth' => 1, 'title_li' => '' );?> <ul> <?php wp_list_categories( $args ); ?></ul> <?php // Sub-Categories } elseif ($parent->term_id && sizeof($children) == 0) { echo 'YOURE INSIDE A SUB-CATEGORY'; $subterm = get_queried_object(); $tax = 'yourtaxonomy_type'; $parents = $subterm->parent; $term_id = $subterm->term_id; echo "<ul>"; wp_reset_postdata(); wp_list_categories( array ( 'taxonomy' => $tax, 'pad_counts'=> 0, 'title_li' => '', 'child_of' => $subterm->parent, )); echo "</ul>"; } // Single Views } else { echo 'YOURE INSIDE A SINGLE'; //still trying to figure out how to show the single's category and siblings. } ?>Any ideas how to make this work with custom post types categories and sub-categories siblings?
Forum: Plugins
In reply to: [Awesome Flickr Gallery] Custom Image size not functioningYeah… there is no solution yet.
Forum: Plugins
In reply to: [Post Views Count (Support caching plugins!)] Add some text before the numberAh i see here that this has already been requested….
Is this going to be released soon??
Forum: Plugins
In reply to: [Post Views Count (Support caching plugins!)] Add some text before the numberIs there anyway to format the widget differently? Right now there is only one way to format the count…. it applies to the bottom of the page and the widget area.
For example: What if you want the bottom of the page to be something like “Number of time this post has been read: (count)” and then you would like the widget to display something shorter like “Read (count) times”?
Forum: Plugins
In reply to: [Awesome Flickr Gallery] Custom Image size not functioningYes, I have the cache directory set to 777. Still isn’t working.
Forum: Plugins
In reply to: [Awesome Flickr Gallery] Custom Image size not functioningOh WHY is TimThumb doing this to us!!!!! This latest script sucks!!!!!
Also, my flicker gallery still does not show thumbnails with the custom size setting on version 3.3.6 either.
I also have this issue! Any word on why this happens?
Forum: Networking WordPress
In reply to: Adding a Global Menu for a Multisite installationOk, did some more searching and found this! http://wordpress.org/support/topic/same-nav-menu-across-all-sites?replies=14
Just had to repeat the process a couple of times and it worked.Forum: Networking WordPress
In reply to: Adding a Global Menu for a Multisite installationI am trying to use the WPMU plugin! I am following all the steps on the tutorial and am not seeing the menu on my multisites….. any tips on what I might be doing wrong??
Forum: Fixing WordPress
In reply to: wp-pass.php – Timeout not working after update to 3.4.1Thanks Ricke 59! I’d been looking for that wp-pass.php!