Tag Info

Hot answers tagged

1

I couldn't see that the answers in the possible duplicate link are using the sidebars_widgets filter, so let me add it here as another possibility: The following assumes you use dynamic_sidebar() function to display your sidebars/widgets or just anything that calls the wp_get_sidebars_widgets() function. Randomize widgets: This code snippet displays all ...


1

For anyone with the same problem, here's the answer. I finally figured it out. // Display Profile Sidebar ACF add_action('genesis_sidebar', 'employee_title'); function profile_photo() { if ( is_singular('profile') && genesis_get_custom_field('employee_title') ) echo '<div id="employee-title"> '. genesis_get_custom_field('employee_title') ...


1

You can create a custom widget for that. // Widget Class ============================== class WPSE154979_Widget extends WP_Widget { function WPSE154979_Widget() { $widget_ops = array( 'classname' => 'WPSE154979_custom_widget', 'description' => __('Post Category Children\'s or Parent Categories') ); ...



Only top voted, non community-wiki answers of a minimum length are eligible