Forum Replies Created
-
AuthorPosts
-
fengshuimasterMember
Well Victor,
Thank you for your kind help.
I also just realised that even though page/2 and page/3 do look the same as the homepage, the section that contains latest posts actually have changed accordingly.
But one thing I don't like though is the Title. It is now showing "sitename - part 2", "sitename - part 3" ...
fengshuimasterMemberHi Victor,
I tried loading page/2, page/3 and page/4 and it returns the same main homepage. Is it normal?
fengshuimasterMemberHi Victor, thanks for the quick response. Thank for pointing out the source of it. Would like to know, is it needed since I actually removed the pagination from homepage earlier for design purposes and replace it with "read more" which link to blog. By the way, why is it returned with 0 bytes? Is that normal? Thanks again.
fengshuimasterMemberHi Victor,
Thank you for your kind reply. Is it standard as per genesis framework or caused by plugins? I don't think it should be loading a page/2. Is there anyway to disable it?
Thanks in advance.
fengshuimasterMemberActually I want to have an end result like your guide here at Display Posts in Column but I am thinking it is not worth it to pay a one month subscription just for that 1 guide. I am okay if it is priced by per guide.
fengshuimasterMemberThanks Brad, it works. So I inserted the following code for full width page:
.page-template-page_blog .post { display: inline-block; width: 33.333333333333%; padding: 2%; }
1. The top does not align itself. So it looks kind of masonry instead of grid.
2. Even after I inserted padding of 2%, the 3 posts per column stick to each others.
3. Not responsive too.
fengshuimasterMemberHi Brad,
Thank you for your concern. I actually followed the CSS but it does not work. The page that I want it in grid is my blog page.
Thank you in advance..
fengshuimasterMemberWell I really love to change the blog page to grid style, but I realized that tutorials & sharing of information are limited. The only way is to pay / subscribe.
fengshuimasterMemberYes. The sample website of what the plugin can do is amazing.
But, I would like to minimize the use of plugin. Any other ways?
Thanks
fengshuimasterMemberGreat. The grid loop code works perfectly.
But I don't know how to unregister and register new featured page widget. I did some reading, is it possible to force and declare it to change the H tag in <div> since it is in a widgetized area.
Thanks in advance.
fengshuimasterMemberHi Genesis Developer,
Your code works flawlessly. Thank you very much.
While for the Genesis Featured Page Widget, I don't really have the knowledge to do it. But since it is a widgetized area, can we use <div></div> to force it to rewrite title to H3?
Thanks in advance.
fengshuimasterMemberHi Genesis Developer,
I followed your instruction by adding below code to function.php
function my_title_wrap(){ return 'h2'; } add_filter( 'genesis_entry_title_wrap', 'my_title_wrap' );
I then added your given code to front-page.php
add_action( 'genesis_before_content', 'add_genesis_grid_loop' ); function add_genesis_grid_loop() { if ( function_exists( 'genesis_grid_loop' ) ) { add_filter( 'genesis_entry_title_wrap', 'my_title_wrap' ); genesis_grid_loop( array( 'features' => 0, 'feature_image_size' => 'home-top', 'feature_content_limit' => 0, 'grid_image_size' => 'featured-image', 'grid_image_class' => 'aligncenter post-image', 'grid_content_limit' => 250, 'more' => __( '[Read More]', 'enterprise' ), 'posts_per_page' => 4, ) ); remove_filter( 'genesis_entry_title_wrap', 'my_title_wrap' ); } else { genesis_standard_loop(); } }
However, nothing changed. Did I miss a code?
fengshuimasterMemberI added the following to front-page file and it works
function my_title_wrap(){ return 'h2'; } add_filter( 'genesis_entry_title_wrap', 'my_title_wrap' );
It still works in the homepage if I add it to function file but the actual single post has some error.
Now that I got the grid loop posts changed to h3, how can I change the entry-title for genesis featured page?
Thanks in advance
fengshuimasterMemberHi Genesis Developer,
Not sure if it is the genesis_grid_loop() function, but I added the following to the front-page file.
add_action( 'genesis_before_content', 'add_genesis_grid_loop' );
function add_genesis_grid_loop() {
if ( function_exists( 'genesis_grid_loop' ) ) {
genesis_grid_loop( array(
'features' => 0,
'feature_image_size' => 'home-top',
'feature_content_limit' => 0,
'grid_image_size' => 'featured-image',
'grid_image_class' => 'aligncenter post-image',
'grid_content_limit' => 250,
'more' => __( '[Read More]', 'enterprise' ),
'posts_per_page' => 4,
) );
} else {
genesis_standard_loop();
}
}I think the genesis_entry_title_wrap is the correct one that I need but not sure how should I do it for the front-page only for grid loop and genesis featured page widget.
Do you think if you can provide me with the coding too?
Thanks in advance
fengshuimasterMemberHi Davinder, thank you for your reply.
Yes, understood that it is alright for a H1 and many H2 / H3. As I am trying to put everything on the front page, I want to try change the following:Genesis Grid Loop (without plugin) post entry-title to H3
Genesis Featured Page (with plugin) page entry-title to H4
Other entry-title to PTried searching but unable to find a solution that works.
fengshuimasterMemberYes that is a good read but ... I am using the standard "genesis featured page" widget only. Would love to change the H2 to standard text but with same size to H2.
Also to change the genesis grid H2 to standard text but with same size to H2 too.
Currently seems like many H2 in 1 page. Any further readings on it?
Thanks in advance
September 16, 2015 at 9:13 am in reply to: Replaced Contextual Related Post with Zemanta Related Post #165765fengshuimasterMemberHi Victor, thanks for your reply. Echo_ald_crp only works for contextual related post plugin. I think "crp" also stands for contextual related post.
In normal circumstances, it should be in genesis_after_entry, but I have inserted next previous post navigation to it. If i reposition related post to genesis_after_entry, it will be before next previous navigation, but I would like it to be below the navigation. Any suggestion?
Thanks
fengshuimasterMemberHi Victor,
Thanks for the fast reply.
1. Since Enterprise Pro has a folder for favicon.ico, do I need to insert certain codes into function.php to stop current favicon.ico and to look for siteicon favicon as not to duplicate calling favicon twice?
2. Will the load time be better using current childtheme favicon.ico or with wordpress siteicon?
Thanks and regards,
CrystalAugust 16, 2015 at 9:22 am in reply to: Removed genesis-after-entry-widget-area from post to pages only #162524fengshuimasterMemberHi Victor, thanks for the reply. Already found the fix for it at https://amethystwebsitedesign.com/add-genesis-after-entry-widget-to-pages-and-custom-post-types/
By the way, it is Enterprise Pro.
-
AuthorPosts