Your cart is currently empty!
If no one know how, I can take tips on another solution. Do not show custom logo on mobile devices..
How can I just show blog title on mobile devices?
I actually just found out how to remove all post..
Simple as it sounds.. I just removed the “custom loop” code.
But, then again.. I still want to show post and choose what categories to be shown.
Can someone please try to help me?
If the function to sort categories is broken, is there any possibility to remove all the post at the front page?
Changing theme settings don’t work and if I remove the code the posts still shows up with a different layout.
Yes that’s true. There is a code in the end of home.php that’s build an portfolie look of the post. And there is an “custom loop” that get the categories and show post, It also seems that it have some code to exclude categories, but I am not sure how to configure it.
Here is the code.
// Add custom loop
add_action(‘genesis_loop’, ‘skope_home_loop’);
function skope_home_loop() {
$paged = get_query_var(‘paged’) ? get_query_var(‘paged’) : 1;
$include = genesis_get_option(‘skope_home_cat’);
$exclude = genesis_get_option(‘skope_home_cat_exclude’) ? explode(‘,’, str_replace(‘ ‘, ”, genesis_get_option(‘skope_home_cat_exclude’))) : ”;
$cf = genesis_get_custom_field(‘query_args’);
$args = array(‘cat’ => $include, ‘category__not_in’ => $exclude, ‘showposts’ => genesis_get_option(‘blog_cat_num’), ‘paged’ => $paged);
$query_args = wp_parse_args($cf, $args);
genesis_custom_loop( $query_args );
}
During the late night hours I found the answer how to center the logo in the header.
In CSS I change the max-width to be the same as the width of the logo.
.site-header {
margin: 0 auto;
max-width: 588px;
}
(588px is the same width as the width of my logo)