Is it possible to design a custom homepage with Astra Theme? I want a homepage with a right sidebar like:
1st Row – Only one latest blog post (dynamic). Title on top, image left, and excerpt right.
——————
2nd Row – 4 static or sticky contents in grids of 2 cols 2 rows. The image on left and title on right, no excerpt.
——————
3rd Row – 4 static or sticky contents in a single grid. Image left, title and excerpt right.
Thank you in advance.
]]>I’m using Hooray theme and i want change my homepage header from slider to custom layout like this page in the link field below.
you can look one big post and three other small . i want to do like this and pick all Width page .
thank you .
]]>I really like this theme so far but am having issues setting a static page as my homepage. It is set as my main page but what shoes up is a blog roll, different from the one that is shown when I set the home page as “recent post”.
Please let me know what needs to be done to get the content I have set as my home page to display on the homepage.
I really believe I will be purchasing the pro version of this theme if I can get this issue reloved.
]]>can yo please help me, i need to play a video or gif file before my wesite or home page load
]]>I am using woocommerce in wordpress. I am using the shortcode [product_page id=”174″] in an attempt to have my single product featured as the home page. Instead of actually featuring my product page as the homepage, it just shows a tile for the product that does even link to the product page.
My entire operation is focused around this single product, so all I really want is for https://crowdfundjawn.com to send users directly to https://crowdfundjawn.com/product/test-1/ AKA have the product page be my homepage. Any way to do this is ok.
I also need https://crowdfundjawn.com/product/test-1/ to be where users are directed when they click the “home” button.
Thanks
I wondered whether it is possible, on my front page to have the layout style of the ‘latest posts’ rather than the ‘static homepage’, but with the posts of my choosing.
I love the layout and style of this theme, but would like to choose which posts appear on my homepage, rather than the latest ones created, whatever they may be.
many thanks in advance
]]>This code changes all the button colors
.themebutton {
background: #000000;
}
.themebutton:hover {
background: #4B8A08;
}
I got everything working by basically registering and hooking new widgets in the function.php.
However, I want to basically create a new homepage template (front-page.php or home.php, etc). But I can’t figure out what part of the code should go into this new template and what part should stay in the function.php. I can’t structure it right and so it doesn’t work.
Here is my function.php code which contains the widgets for the homepage:
<?php
// Start the engine the other way
add_action('genesis_setup','genesischild_theme_setup', 15);
function genesischild_theme_setup() {
//Add support for HTML5 markup
add_theme_support( 'html5' );
//Add viewport metatag
add_theme_support( 'genesis-responsive-viewport' );
//Add 3 footer widgets
add_theme_support( 'genesis-footer-widgets', 3 );
//Add support for custom background
add_theme_support( 'custom-background' );
// Remove post meta
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
// Execute custom home page. If no widgets active, then loop
remove_action( 'genesis_loop', 'genesis_do_loop' );
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
// Register Home page widgets
genesis_register_sidebar( array(
'id' => 'parallax-section-below-header',
'name' => __( 'Parallax Section Below Header', 'geeta' ),
'description' => __( 'This is the parallax section below header.', 'geeta' ),
) );
genesis_register_sidebar( array(
'id' => 'home-section-1',
'name' => __( 'Home Section 1', 'geeta' ),
'description' => __( 'This is the Home Section 1.', 'geeta' ),
) );
genesis_register_sidebar( array(
'id' => 'home-section-2',
'name' => __( 'Home Section 2', 'geeta' ),
'description' => __( 'This is the Home Section 2.', 'geeta' ),
) );
genesis_register_sidebar( array(
'id' => 'home-section-3',
'name' => __( 'Home Section 3', 'geeta' ),
'description' => __( 'This is the Home Section 3.', 'geeta' ),
) );
genesis_register_sidebar( array(
'id' => 'home-section-4',
'name' => __( 'Home Section 4', 'geeta' ),
'description' => __( 'This is the Home Section 4.', 'geeta' ),
) );
genesis_register_sidebar( array(
'id' => 'home-section-5',
'name' => __( 'Home Section 5', 'geeta' ),
'description' => __( 'This is the Home Section 5.', 'geeta' ),
) );
//* Hooks parallax-section-below-header widget area after header
add_action( 'genesis_after_header', 'parallax_section_below_header' );
function parallax_section_below_header() {
if ( ! is_home() )
return;
genesis_widget_area( 'parallax-section-below-header', array(
'before' => '<div class="below-header parallax-section widget-area"><div class="wrap">',
'after' => '</div></div>',
) );
}
//* Hooks home-section-1 widget area after header
add_action( 'genesis_after_header', 'home_section_1' );
function home_section_1() {
if ( ! is_home() )
return;
genesis_widget_area( 'home-section-1', array(
'before' => '<div class="below-header home-section-1 widget-area"><div class="wrap">',
'after' => '</div></div>',
) );
}
//* Hooks home-section-2 widget area after header
add_action( 'genesis_after_header', 'home_section_2' );
function home_section_2() {
if ( ! is_home() )
return;
genesis_widget_area( 'home-section-2', array(
'before' => '<div class="below-header home-section-2 widget-area"><div class="wrap">',
'after' => '</div></div>',
) );
}
//* Hooks home-section-3 widget area after header
add_action( 'genesis_after_header', 'home_section_3' );
function home_section_3() {
if ( ! is_home() )
return;
genesis_widget_area( 'home-section-3', array(
'before' => '<div class="below-header home-section-3 widget-area"><div class="wrap">',
'after' => '</div></div>',
) );
}
//* Hooks home-section-4 widget area after header
add_action( 'genesis_after_header', 'home_section_4' );
function home_section_4() {
if ( ! is_home() )
return;
genesis_widget_area( 'home-section-4', array(
'before' => '<div class="below-header home-section-4 widget-area"><div class="wrap">',
'after' => '</div></div>',
) );
}
//* Hooks home-section-5 widget area after header
add_action( 'genesis_after_header', 'home_section_5' );
function home_section_5() {
if ( ! is_home() )
return;
genesis_widget_area( 'home-section-5', array(
'before' => '<div class="below-header home-section-5 widget-area"><div class="wrap">',
'after' => '</div></div>',
) );
}
}
Or if the code above is broken, see it here @ https://pastebin.com/w5JGCnKY
I would appreciate if anyone could help me basically separate the code (what should go in the new template and what should stay in the function.php).
Thank you so much in advance.
]]>