Forum Replies Created
-
AuthorPosts
-
GrahamMember
It is only visible to logged in users with sufficient permissions to edit.
If you wanted to remove it for all users (including yourself), add the following snippet to your functions.php
add_filter( 'edit_post_link', '__return_false' );
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberAh, reading the OP properly now, I see that itzsnider was referencing the social warfare plugin... as to how and where that plugin added it's sharing code. I got confused with other references in the thread to Social Shares plugin and Simple Social Icons plugin.
Without knowing the social warfare plugin, my first *guess* would be that the issue is similar, with the sharing icons being added to the beginning and end of the entry content as opposed to before and after ? Would need to see plugin code to confirm.
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberWhich blog page template are you using?
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberDespite what is shown on that plugin's setting page, the share buttons are added to the entry-content.
A better description of the options might read..
Beginning of content (not Before)
End of content (not After)
Beginning and End of content (not Before and After)You might want to take a look at manually repositioning the share buttons to the ( maybe ) genesis_entry_header and/or genesis_entry_footer hooks.
Ref:
http://briangardner.com/reposition-genesis-simple-share-buttons/
https://gist.github.com/srikat/787e8d8bad7ec06a40feThat's as far as I got when I explored the issue previously. Other issues with that plugin prevented me from investigating further and I am yet to settle on a satisfactory alternative.
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberReference:
https://codex.wordpress.org/CSS#WordPress_Generated_Classes
I see that WordPress recommends a .screen-reader-text:focus css class as well, I shall adopt that from now on,
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberDon't edit the parent Genesis theme, your changes will be lost on upgrade.
All modifications should be done in the child theme or by use of a plugin.
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberThat is because there is no screen-reader-text css class in that theme. It is a class that is used by WordPress with web accessibility in mind, yet not often catered for by theme developers. Including our very own premium StudioPress themes.
As a matter of course, I always add the following to the CSS in all Genesis themes
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
My JustGiving page: https://www.justgiving.com/helping-graham-give
May 21, 2015 at 11:29 am in reply to: Managing file genesis / lib / structure / header.php in child theme #153117GrahamMemberThere may be another solution, which part were you hoping to edit?
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberWhen you upload an image to the WordPress media library, different size copies of the image are created ( e.g. thumbnail, medium, large, slider, featured image size etc. ). During this process the animation will be lost on the copies, yet remains on the original image uploaded.
If your theme template is showing one of the different size versions, then there will be no animation.
As the images are resized down in size.. and not up - if you upload an image that is smaller than any image sizes in use on your theme, then WordPress will use the original.
Try it with a 75px x 75px animated gif
My JustGiving page: https://www.justgiving.com/helping-graham-give
May 21, 2015 at 11:03 am in reply to: How to remove pagination, when I am using Infinite scroll #153110GrahamMemberIf someone clicks on any of these links from your front page, then using the is_home() conditional would not be sufficient.
http://dnevnadoza.org/author/usce/
http://dnevnadoza.org/category/uncategorized/If you are using infinite scroll sitewide, then you would most likeley need to remove the pagination sitewide
My JustGiving page: https://www.justgiving.com/helping-graham-give
May 20, 2015 at 9:09 pm in reply to: How to remove pagination, when I am using Infinite scroll #153032GrahamMemberI believe that conditionally removing the action using is_home() will not remove the pagination on category / tag / author / etc. archive views
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberIn the Metro Pro theme, the secondary menu ( subnav ) is actually hooked on to the 'genesis_before' hook and not 'genesis_after_header' -- so that's the menu right at the top of the page.
So, tweaking the above code to conditionally remove the secondary menu in the Metro Pro theme - try this.
add_action( 'template_redirect', 'child_maybe_remove_subnav' ); function child_maybe_remove_subnav(){ If ( is_page('10') ) // replace value 10 by your page id remove_action( 'genesis_before', 'genesis_do_subnav' ); }
My JustGiving page: https://www.justgiving.com/helping-graham-give
May 20, 2015 at 8:12 pm in reply to: How to remove pagination, when I am using Infinite scroll #153021GrahamMemberAdd to your functions.php
remove_action( 'genesis_after_endwhile', 'genesis_posts_nav' );
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberGood to know, thanks for sharing. I shall test on my installations
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberDeisgn Palette Pro is lacking in certain circumstances, Though if you use the Freeform CSS add on, you can make any changes you want within the plugin ( or of course, don't use the plugin at all - and just add to your theme's style sheet)
To target the post titles in the sidebar, try either:
In your stylesheet:
body.gppro-custom .sidebar .entry-header .entry-title { font-size: 20px; }
In the Freeform CSS
.sidebar .entry-header .entry-title { font-size: 20px; }
You would be able to make other changes there too.
https://wordpress.org/plugins/gp-pro-freeform-style/
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberPossibly time for a scan for malware etc.
e.g. https://wordpress.org/plugins/sucuri-scanner/
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberIt shows on the non mobile version as well by the way
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberYou have some typos
amended
.site-header { border-top: 5px solid #f16915; border-bottom: none; border-right: none; border-left: none; } .nav-primary { border-top: 5px solid #f16915; border-bottom: none; } .custom-widget { background-color: #739040; padding-top: 0px; padding-bottom: 10px; border-bottom: 5px solid #f16915; } .site-footer { border-top: 4px solid #f16915; }
My JustGiving page: https://www.justgiving.com/helping-graham-give
May 19, 2015 at 2:53 am in reply to: Altitude Pro – Change ONE Text Widget Background Colour #152711GrahamMember^^ brock's is better .. more specific
or ... in keeping with the background on front-page-4
.front-page-2 .solid-section { background-color: #ffa500; }
🙂
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberThe code you are using in the Freeform CSS does work on its own.
Do you have any other CSS in the FreeForm box? Because, if there is a typo in any CSS above, then your code is unlikely to work
My JustGiving page: https://www.justgiving.com/helping-graham-give
-
AuthorPosts