Forum Replies Created
-
AuthorPosts
-
CarloMember
Hi redgsr. This is a very unusual issue and one that I think will be next to impossible to solve without being able to see the back end of your site. Would you be open to paying a developer to look at your site?
CarloMemberHi Adam. That's a lot of help you're asking for, for free! I'll help you out with one issue if you let me know which one is the most urgent. Anything beyond that will cost you, as my time is valuable.
Out of curiosity, if it's such a pain to you, why are you trying to do it all yourself, instead of just paying a developer and allowing yourself to focus on your business?
CarloMemberHi Ian. I think what the documentation means is that the parent crumb refers to the custom post type archive, not the post parent, if that makes sense. I don't think the function supports hierarchical custom post types.
However, if you look at genesis/lib/classes/breadcrumb.php, there is a filter
'genesis_single_crumb'
on line 215 that you could use to add the parent posts into the markup output.
CarloMemberHi Ian. I agree that the documentation on the studiopress website is not as good as it could be. There are shortcodes, hooks, actions and filters that do exist but are not covered in the reference.
Usually, I look through the source code to find filters, actions and shortcodes to use. You can find them by looking for code according to the following formats:
Filters:
apply_filters( 'name_of_filter', $content_to_be_filtered );
Actions:
do_action( 'name_of_action' );
Shortcodes:
add_shortcode( 'name_of_shortcode', 'callback_function' );
Of course, knowing where to look is a skill that you have to develop with practice.
I should probably be able to help you with changing archive html output. Can you explain in more detail what you need to do?
CarloMemberHi there. A simple way to remove the blog posts is to go into the file front-page.php, and add the below code directly above the line
genesis();
if ( !is_user_logged_in() ) remove_all_actions( 'genesis_loop' );
Note that this just removes the blog posts from the front page. If anyone has the permalink to any of your blog posts, they'll be able to view it, regardless of whether they're a registered member.
CarloMemberHi jiihoohoo. I looked at your site and you've already got a navigation bar in the header left side. Did you solve your problem?
CarloMemberHi jiihoohoo. Do you mean the picture that shows up on the link you've provided? I think the best way would be to put the text inside an HTML div and give it a background image in your theme stylesheet. You could hard-code this or make it a shortcode. Let me know if you'd like more help.
CarloMemberHi Teresa. Do you mean that you have a shortcode in the content of the page and it doesn't run? Can you link to the page you're talking about?
CarloMemberHi Tom and Josephine. Do you want just a screenshot of the map or an interactive map? Also, do you want the text over the top of the map (probably not a good idea if it's an interactive map)?
CarloMemberHi Amy. I went to the site and looked at the Portfolio page. Did you already solve your problem?
January 31, 2015 at 3:10 am in reply to: Any Attitude or Parallax sites with the blog for home page? #139118CarloMemberGood question slobizman and no your permalinks won't change.
January 30, 2015 at 4:52 pm in reply to: Any Attitude or Parallax sites with the blog for home page? #139090CarloMemberHi slobizman. I can't think of any reason why the theme you use would cause any problems. I think starting off with a blog on a front page, and later switching to a static front page when you launch your products and services, is a great idea and would be very easy to implement without causing any problems for your site.
To do it, you'd go into your WordPress admin area, Settings > Reading, and select your front page to display Your latest posts. Then when you want a static front page, select A static page, select the page you want to display on the front page, and make sure that you select for Posts page the page on which you want your blog to show. Then you just link to that 'posts page' in your menus.
Let me know if you have any more uncertainties!
CarloMemberHi Jennifer. Using
display: none;
is not a very good solution because the dates will still be there in the source code.Instead, I've prepared some code that you can add to your theme functions to properly remove the dates.
function jennifer_comment_callback( $comment, array $args, $depth ) { ob_start(); genesis_html5_comment_callback( $comment, $args, $depth ); $all_content = ob_get_clean(); ob_start(); ?><p <?php echo genesis_attr( 'comment-meta' ); ?>> <?php printf( '<time %s>', genesis_attr( 'comment-time' ) ); printf( '<a href="%s" %s>', esc_url( get_comment_link( $comment->comment_ID ) ), genesis_attr( 'comment-time-link' ) ); echo esc_html( get_comment_date() ) . ' ' . __( 'at', 'genesis' ) . ' ' . esc_html( get_comment_time() ); echo '</a></time>'; edit_comment_link( __( '(Edit)', 'genesis' ), ' ' ); ?> </p><?php $content_to_remove = ob_get_clean(); echo str_replace( $content_to_remove, '', $all_content ); } add_filter( 'genesis_comment_list_args', function( $defaults ) { $defaults[ 'callback' ] = 'jennifer_comment_callback'; return $defaults; } );
Let me know if that works.
CarloMemberTry using this code:
.content-box-yellow { background-color: #fef5c4; border: 1px solid #fadf98; } .content-box-yellow a { color: #fadf98; }
I used the same colour code as the border. For the other colours, repeat with their respective border colour codes.
If you want to bold your hyperlinks, this is the code you need:
a { font-weight: bold; }
CarloMemberYes, I see what you mean Susanta, but that's how they're meant to look. There's no 'issue' with the theme. Unless you would like to customise the theme font sizes?
CarloMemberHi NHEd. Try adding this code to your theme functions:
add_filter( 'genesis_post_info', function( $content ) { return 'By [post_author_posts_link] [post_comments] [post_edit]'; } );
Let me know if that solution works for you.
CarloMemberHi Nelius. Background music is highly frowned upon in web design because it's contemptuous towards your users. I'd think again if I were you.
CarloMemberHi Susanta. I don't think there's anything wrong with the headlines. That's how they're meant to look. I wouldn't worry if I were you.
CarloMemberAre you sure it's just IE? I think the text is being cut off in every browser.
You want to remove the following code from your theme stylesheet:
.entry-content { overflow: hidden; }
CarloMemberHi Lilac. To remove the note below the comment form, try adding the below code to your theme functions:
add_filter( 'comment_form_defaults', function( $defaults ) { $defaults[ 'comment_notes_after' ] = ''; return $defaults; } );
To make your menu bar solid, try adding the below code to your theme stylesheet:
.nav-primary { background-color: #87c733; }
Let me know if those solutions work.
-
AuthorPosts