Forum Replies Created
-
AuthorPosts
-
tigarukMember
Thanks for the reply, but that code isn't removing the posts from the home page 🙁
I've placed it in functions.php like i should and nothing changes.Really don't know why or what to do.
tigarukMemberThanks, my issue is i don't know how to do conditional stuff, or at least what im trying is slightly wrong somewhere and i can't just find the right way to write that line of code.
tigarukMemberAnyone know how to do this please?
tigarukMemberThis is driving me mad, despite millions of people asking this question on google. No one has the correct answer and every answer they do have is totally different to someone elses and is written in the vaguest of terms. I even tried a plugin to remove the posts which instead filled it with a line of text saying 'Sorry, no content matched your criteria.' Which again seems impossible to remove without removing every post on the site.
Surely there is a simple solution to this to hide, remove or destroy all blog posts from showing on the home page.
tigarukMemberThanks, but i've never done conditional stuff before so not sure how to do that.
I tried
if ( is_front_page() ) { remove_action( 'genesis_loop', 'genesis_do_loop' ); } }
Which just broke the site :/
tigarukMemberI just want to remove the blog posts from the home page. If i use just the first snippet it removes the blog posts from the homepage but also removes the post content from the actual posts themselves, so a post is actually blank.
tigarukMemberHow would i use media query to do that?
I can't link to the site as it's for a client.
October 26, 2014 at 7:56 am in reply to: Agent Press: Secondary Navigation on Category Pages Only #129273tigarukMemberIts the basic Custom Menu widget that comes with the Agent Press Pro theme, i've not changed its code in any way.
October 12, 2014 at 6:22 am in reply to: Agent Press Pro: Replace Listing-Price with Post Title #127561tigarukMemberSolved it, was being dumb, had to turn on titles in the genesis widget amplifer.
October 11, 2014 at 6:07 am in reply to: Agent Press Pro: Add Search in Menu Like Twenty Forteen Theme #127463tigarukMemberHmm more i look into this the more i think its a simple solution but don't know the answer. This theme uses a custom menu to display the menu. I can turn on a search box in the primary menu in genesis, but this does not show in the custom menu, despite it being the primary menu. Sure theres a way to get the genesis search to see this as the primary menu.
October 11, 2014 at 5:15 am in reply to: Agent Press Pro: Add Search in Menu Like Twenty Forteen Theme #127462tigarukMemberAnyone?
September 3, 2014 at 1:53 pm in reply to: Agent Press Pro: Add PHP/HTML to Category Description #122646tigarukMemberThe description field doesn't show in the theme though, the archive intro text does though.
July 5, 2014 at 12:48 pm in reply to: Agent Press Pro: Remove Entry-Meta on Category Pages Only #113061tigarukMemberThat works perfectly as well. Thank you very much for your help, its really appreciated!
tigarukMemberThat seems to work perfectly. Thanks!
July 5, 2014 at 8:17 am in reply to: Agent Press Pro: Remove Entry-Meta on Category Pages Only #113041tigarukMemberIm obviously doing something dumb here as i can't get it to work.
//* Remove the entry meta in the entry footer (requires HTML5 theme support) remove_action( 'genesis_entry_footer', 'genesis_post_meta' ); //* Remove the entry meta in the entry header (requires HTML5 theme support) remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
Works fine, apart from it removes it from every single page. As soon as i add !is_category() anywhere in that code, it just breaks that bit of code and its showing everywhere again.
tigarukMemberCode is from here.
http://www.wpbeginner.com/wp-tutorials/how-to-insert-ads-within-your-post-content-in-wordpress/
Where do i include that conditional tag?
tigarukMemberCheers, thats solved both issues!
tigarukMemberThink i figured it out by changing the
.home-featured .widget.search-property, .home-featured .widget.search-property:last-child
to my text widget and then removing some padding so its at the bottom.
tigarukMemberThanks, never come across a bit of code like that before and was looking for a width or %. That works perfectly, thanks again!
June 21, 2014 at 2:41 am in reply to: Agent Press Pro: How do i get the header to go full width? #110922tigarukMemberPerfect, that did the trick! Thanks!
-
AuthorPosts