Forum Replies Created
-
AuthorPosts
-
June 18, 2014 at 10:50 pm in reply to: adding the header as an img tag in the html rather than a css background #110496nciskeMember
Try adding this to functions.php
remove_action( 'wp_head', 'genesis_custom_header_style' ); add_action( 'genesis_header', 'andym_header' ); function andym_header() { echo '<img src="'.get_header_image().'">'; }
Tweak the image tag as needed for your theme.
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0June 18, 2014 at 10:42 pm in reply to: Winning Agent & WP Listings Plugin from Agent Evolution #110495nciskeMember"like just some slight custom coding is needed to get this plugin to work well with the theme"
Looks fine to me -- what exactly do you want to fix?
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0nciskeMember1. Custom CSS should go before the media queries, unless you want it to override them (generally not a good idea)
2. You need to adjust the media query in between full and mobile (i.e. (max-width: 1023px) to correctly size your content boxes.
Try this:
@media only screen and (max-width: 1023px) { .beautiful-landing .site-inner, .site-inner, .wrap { max-width: 768px; } .header-image .site-title a { background-position: center !important; background-size: contain !important; margin: 0; } .content, .footer-widgets-1, .footer-widgets-2, .footer-widgets-3, .sidebar-primary, .site-header .widget-area, .title-area { width: 100%; margin-left: 0; /* added */ } .sidebar div.widget-wrap{ margin-right: 0; /* added */ } .genesis-nav-menu, .site-description, .site-header .title-area, .site-header .search-form, .site-header .widget-area, .site-title { text-align: center; } .footer-widgets-1 { margin-right: 0; } }
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0nciskeMemberTry Easy Digital Downloads:
Either:
1. Bundled Products
https://easydigitaldownloads.com/docs/bundled-products/OR
2. Have the bundle purchase award them enough points for X downloads which they then can redeem from the list of 20/30 downloads (purchasable with points).
https://easydigitaldownloads.com/extensions/points-rewards/If you prefer WooCommerce:
http://www.woothemes.com/products/woocommerce-points-and-rewards/
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0June 18, 2014 at 10:18 pm in reply to: Optimized Studiopress' breadcrumbs to remove the double 'Home' tag as needed #110492nciskeMemberThis seems to do the same thing with far less code:
function maybe_remove_breadcrumb_home_link( $crumb ){ global $post; if ( is_singular( 'page' && $post->post_parent == get_option('page_on_front') ) ) return ''; return $crumb; } add_filter ( 'genesis_home_crumb', 'maybe_remove_breadcrumb_home_link' );
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0June 18, 2014 at 9:59 pm in reply to: Is it possible to put video links in Exec Pro widgets? #110487nciskeMemberOdd. Genesis runs all widget content through do_shortcode so that should work -- though "doesn't work" can mean a few things (e.g. it could be a different issue than the shortcode -- but I don't have enough info to know for sure).
You can try this and see if that allows you to use shortcodes in widgets:
http://www.carriedils.com/extend-wordpress-widgets-without-plugin/
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0nciskeMemberTry this:
https://gist.github.com/nciske/84e1d0286c658f427105
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0nciskeMemberDon't edit the slider plugin code.
This filter: genesis_pre_get_option_slideshow_more_text should allow you to short circuit that option and change it per slide... but the bigger question is: where is the per slide more button text stored? Which means post meta, a meta box, etc. More than I can give you without building you a custom or forked plugin. Someone else may have the time or inclination to tackle that...
Consider choosing a more full featured slider that has this built in vs attempting to hack the Genesis responsive slider which hasn’t been updated since WP 3.4.2.
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0nciskeMemberEither of these should do the trick, if you categorize your slider posts separately from the rest.
http://wordpress.org/plugins/wp-hide-category/
https://wordpress.org/plugins/ultimate-category-excluder/
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0nciskeMemberGet attachments:
http://codex.wordpress.org/Function_Reference/get_childrenGet image tag for an attachment id
http://codex.wordpress.org/Function_Reference/wp_get_attachment_image
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0nciskeMemberTried this?
https://wordpress.org/plugins/infinite-scroll/
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0June 17, 2014 at 11:49 am in reply to: Is it possible to put video links in Exec Pro widgets? #110207nciskeMemberHow do you put a video into a post/page currently?
The same code should work in a text widget... or perhaps try this plugin:
https://wordpress.org/plugins/black-studio-tinymce-widget/
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0nciskeMemberCan you define what's not working? Most of us here don't read arabic, so we can't see what wrong.
Have you opened a ticket with SP? Seems like a theme bug?
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0nciskeMemberRethink the user experience. If milliseconds of response time increase bounce rates on websites... imagine what an animation will do?
If you insist on tanking your UX: Hire a developer -- this is not a point and click thing. There are no easy/cheap/free answers for this.
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0June 17, 2014 at 11:41 am in reply to: SEO and which pages, posts and images should have meta data #110203nciskeMemberRanking well for "tree care"? Get real. Add a city, state, county to that and you have a chance.
Sounds like you need SEO 101:
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0nciskeMemberTry this:
GistRequires that you append ?email=1 to the feed URL you're using for RSS to email This triggers the limit of the 10 latest posts).
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0nciskeMemberCould just be FeeedBurner caching your truncated feed -- reselect "full text' give it a few hours to re-cache and see if the feed is full content.
If that doesn't work:
Standard troubleshooting procedure:
1. Check for plugin conflicts:
Deactivate all possible plugins: Did that solve the problem?If it did, it's a plugin conflict:
Reactivate plugins one at a time until the problem returns. The last plugin activated is the culprit. Report back with that plugin name/link.If not:
2. Check for theme conflicts:
With all plugins disabled, switch to a bundled theme (2011, 2012, 2013, 2014). Did that solve the problem?If it did, your theme is causing the issue. Talk to the theme vendor directly.
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0nciskeMemberTalk to your host, this is an issue only they can fix.
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0nciskeMemberLink?
Browsers cache those super aggressively, so it could just be your browser.
You may need to Shift+Refresh or empty your browser cache to see the changes (see http://bit.ly/yo5Dpo).
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0nciskeMemberUsing conditionals like is_single( '150') isn't "wrong" per se, it's just really inflexible (though it's super quick if this is the only page this is needed for).
If these are posts on the same site:
WPML can enable these tags (and make managing them simpler to boot). Other translation plugins may support this or give you the info needed to generate these automatically.If they are translated posts on another site (or a mix of the two):
Ideally, you'd have some post meta (custom fields) to define the alternate versions which you'd loop through and output it dynamically.e.g.
The custom field rel_alternate would be an array of href and hreflang fields.The easiest way to do this would be with an Advanced Custom Fields repeater field, or another 'repeater' enabled custom field plugin.
Also, make sure you output a tag for the current page as well:
If you have multiple language versions of a URL, each language page must identify all language versions, including itself.
Source: https://support.google.com/webmasters/answer/189077?hl=en
I'm realizing I need this for a client project, so I may try to whip up a small plugin to do this. No promises, but I'll post a link here if I do 😉
Nick Ciske | https://luminfire.com/ | @nciske
Did I help you? Say thanks: http://bit.ly/1lahwy0 -
AuthorPosts