Searching for ' . $thisCatSlug . '

0 Results

Filter By

Sorry, no results were found

Sorry, no results were found

asResource_1_ID = [" . $atts['resource-1-ID'] . "]"; echo "
asResource_2_ID = [" . $atts['resource-2-ID'] . "]
"; echo "
asResource_3_ID = [" . $atts['resource-3-ID'] . "]
"; echo "
asResourceTitle = [" . $atts['resourceTitle'] . "]
"; echo "
asResourceNumberOfListings = [" . $asResourceNumberOfListings . "]
"; */ /* Default settings / content */ // Get all the children of the 4 top level categories if ($asResource_1_ID == "") { $asResource_1_ID = 2240; } if ($asResource_2_ID == "") { $asResource_2_ID = 2241; } if ($asResource_3_ID == "") { $asResource_3_ID = 2242; } if ($asResource_4_ID == "") { $asResource_4_ID = 2243; } // Fonts Awesome icons defaults if ($asResource_1_fontaweicon == "") { $asResource_1_fontaweicon = "fa fa-edit"; } if ($asResource_2_fontaweicon == "") { $asResource_2_fontaweicon = "fa fa-cubes"; } if ($asResource_3_fontaweicon == "") { $asResource_3_fontaweicon = "fa fa-book"; } if ($asResource_4_fontaweicon == "") { $asResource_4_fontaweicon = "fa fa-cog"; } if ($asResources_show_links == "") { $asResources_show_links = "Yes"; } // Category Titles $thisCategoryTitle1 = get_cat_name( $category_id = $asResource_1_ID ); $thisCategoryTitle2 = get_cat_name( $category_id = $asResource_2_ID ); $thisCategoryTitle3 = get_cat_name( $category_id = $asResource_3_ID ); $thisCategoryTitle4 = get_cat_name( $category_id = $asResource_4_ID ); // Get Categories per IDs $categories1 = get_categories('child_of='.$asResource_1_ID); $categories2 = get_categories('child_of='.$asResource_2_ID); $categories3 = get_categories('child_of='.$asResource_3_ID); $categories4 = get_categories('child_of='.$asResource_4_ID); $thisCategoryListings1Output = ""; $thisCategoryListings2Output = ""; $thisCategoryListings3Output = ""; $thisCategoryListings4Output = ""; // Max # of categories shown, count from 0 - ex) 0 - 4 is 5 items /* echo "
asResource_1_ID = [" . $asResource_1_ID . "]
"; echo "
asResource_2_ID = [" . $asResource_2_ID . "]
"; echo "
asResource_3_ID = [" . $asResource_3_ID . "]
"; echo "
asResourceTitle = [" . $asResourceTitle . "]
"; echo "
asResourceNumberOfListings = [" . $asResourceNumberOfListings . "]
"; */ if ($asResourceNumberOfListings != "") { $maxNumberOfCatsShown = $asResourceNumberOfListings; } else { $maxNumberOfCatsShown = 5; } // ++ 1st Column $thisLoopCount1 = 0; foreach ($categories1 as $category) { $thisCategoryListings1Output .= "
    "; // Count length of category name, if too long, add class to A HREF to make font size smaller $thisLen = strlen($category->name); $classSpecialFontSize = ''; if ( $thisLen >= 18 ) { $classSpecialFontSize = ' class="home_resources_fontsize_smaller"'; } /* $thisCategoryListings1Output .= '
  • term_id . '" ' . $classSpecialFontSize . '>' . $category->name . ' ' . $category->count . ' Articles
  • '; */ /* June 18/18: Removed # of Articles due to responsive / long titles overlapping */ $thisCatSlug = str_replace("&","",$category->slug); $thisCatSlug = str_replace("-","+",$thisCatSlug); $thisCategoryListings1Output .= '
  • ' . $category->name . '
  • '; $thisCategoryListings1Output .= "
"; // Show only X categories $thisLoopCount1++; if ( $thisLoopCount1 == $maxNumberOfCatsShown ) { break; } } // ++ // ++ 2nd Column $thisLoopCount2 = 0; foreach ($categories2 as $category2) { $thisCategoryListings2Output .= "
    "; // Count length of category name, if too long, add class to A HREF to make font size smaller $thisLen = strlen($category2->name); $classSpecialFontSize = ''; if ( $thisLen >= 18 ) { $classSpecialFontSize = ' class="home_resources_fontsize_smaller"'; } /* June 18/18: Removed # of Articles due to responsive / long titles overlapping */ /* $thisCategoryListings2Output .= '
  • term_id . '"' . $classSpecialFontSize . '>' . $category2->name . ' ' . $category2->count . ' Articles
  • '; */ $thisCatSlug = str_replace("&","",$category2->slug); $thisCatSlug = str_replace("-","+",$thisCatSlug); $thisCategoryListings2Output .= '
  • ' . $category2->name . '
  • '; $thisCategoryListings2Output .= "
"; // Show only X categories $thisLoopCount2++; if ( $thisLoopCount2 == $maxNumberOfCatsShown ) { break; } } // ++ // ++ 3rd Column $thisLoopCount3 = 0; foreach ($categories3 as $category3) { $thisCategoryListings3Output .= "
    "; // Count length of category name, if too long, add class to A HREF to make font size smaller $thisLen = strlen($category3->name); $classSpecialFontSize = ''; if ( $thisLen >= 18 ) { $classSpecialFontSize = ' class="home_resources_fontsize_smaller"'; } /* June 18/18: Removed # of Articles due to responsive / long titles overlapping */ /* $thisCategoryListings3Output .= '
  • term_id . '"' . $classSpecialFontSize . '>' . $category3->name . ' ' . $category3->count . ' Articles
  • '; */ $thisCatSlug = str_replace("&","",$category3->slug); $thisCatSlug = str_replace("-","+",$thisCatSlug); $thisCategoryListings3Output .= '
  • ' . $category3->name . '
  • '; $thisCategoryListings3Output .= "
"; // Show only X categories $thisLoopCount3++; if ( $thisLoopCount3 == $maxNumberOfCatsShown ) { break; } } // ++ // ++ 4th Column $thisLoopCount4 = 0; foreach ($categories4 as $category4) { $thisCategoryListings4Output .= "
    "; // Count length of category name, if too long, add class to A HREF to make font size smaller $thisLen = strlen($category4->name); $classSpecialFontSize = ''; if ( $thisLen >= 18 ) { $classSpecialFontSize = ' class="home_resources_fontsize_smaller"'; } /* June 18/18: Removed # of Articles due to responsive / long titles overlapping */ /* $thisCategoryListings4Output .= '
  • term_id . '"' . $classSpecialFontSize . '>' . $category4->name . ' ' . $category4->count . ' Articles
  • '; */ $thisCatSlug = str_replace("&","",$category4->slug); $thisCatSlug = str_replace("-","+",$thisCatSlug); $thisCategoryListings4Output .= '
  • ' . $category4->name . '
  • '; $thisCategoryListings4Output .= "
"; // Show only X categories $thisLoopCount4++; if ( $thisLoopCount4 == $maxNumberOfCatsShown ) { break; } } // ++ /* echo "
";
	echo "asResource_4_ID = " . $asResource_4_ID . "
"; echo "
"; echo "
";
	echo "thisCategoryListings3Output = " . htmlspecialchars($thisCategoryListings3Output) . "
"; echo "thisCategoryListings4Output = " . htmlspecialchars($thisCategoryListings4Output) . "
"; echo "
"; */ /* Aug 15/18: Revised to show all links to Resource page for more details */ /* $thisCategoryTitleLink1 = 'Find more ' . $thisCategoryTitle1 . ''; $thisCategoryTitleLink2 = 'Find more ' . $thisCategoryTitle2 . ''; $thisCategoryTitleLink3 = 'Find more ' . $thisCategoryTitle3 . ''; $thisCategoryTitleLink4 = 'Find more ' . $thisCategoryTitle4 . ''; */ if ($asResources_show_links == "Yes") { $thisCategoryTitleLink1 = 'Find more ' . $thisCategoryTitle1 . ''; $thisCategoryTitleLink2 = 'Find more ' . $thisCategoryTitle2 . ''; $thisCategoryTitleLink3 = 'Find more ' . $thisCategoryTitle3 . ''; $thisCategoryTitleLink4 = 'Find more ' . $thisCategoryTitle4 . ''; } else { $thisCategoryTitleLink1 = ' '; $thisCategoryTitleLink2 = ' '; $thisCategoryTitleLink3 = ' '; $thisCategoryTitleLink4 = ' '; } $thisResourceListOutput = ""; $thisResourceListOutput .= "
"; if ( $asResourceTitle != "" ) { $asResourceTitle = "

" . $asResourceTitle . "

"; } /* $thisResourceListOutput .= $asResourceTitle . "

" . $thisCategoryTitle1 . "

" . $thisCategoryTitleLink1 . "

" . $thisLoopCount1 . " subcategories

" . $thisCategoryListings1Output . "

"; */ $thisResourceListOutput .= $asResourceTitle . "

" . $thisCategoryTitle1 . "

" . $thisCategoryListings1Output . "

" . $thisCategoryTitleLink1 . "

"; $thisResourceListOutput .= "

" . $thisCategoryTitle2 . "

" . $thisCategoryListings2Output . "

" . $thisCategoryTitleLink2 . "

"; $thisResourceListOutput .= "

" . $thisCategoryTitle3 . "

" . $thisCategoryListings3Output . "

" . $thisCategoryTitleLink3 . "

"; $thisResourceListOutput .= "

" . $thisCategoryTitle4 . "

" . $thisCategoryListings4Output . "

 

"; $thisResourceListOutput .= "
"; ?>
 
 
 
Industry  
  •    
  •    
 
Send this to a friend