Forum Replies Created
-
AuthorPosts
-
TracyMember
I'm slowly getting there after watching many videos. All I needed I guess was the s2member plugin and the proper settings.
I've installed it and set up a couple test users. I wanted to only add them manually not necessary to have an open registration. I configured in the General Options tab to redirect each individual user to their own private page. I do however need to have a Member Login form in the navigation for them to access this form. I've placed a custom link in my navigation which works but I don't think it's how it should be. I've seen others have the form embeded in the page itself but can't figure out how to do that without having the s2member Pro. I also want a Logout link for them. Can someone please help me out with this pleaseTracyMemberI'm almost certain that there is a compatibility issue with my setup now. In the beginning Im sure I had installed Clipcart, Cart66 lite and Woocommerce together. Now everytime I activate the woocommerce I can't edit my products. I can see the list of them in the Cart66 but they are not active. Any suggestions.
TracyMemberSorry, I meant also to note that in that link after oliversgarden.com it's /mess.asp I found that mess.asp file in the root along with my wordpress files which wasn't there originally, so I deleted it from the server. Would that have been anything in your opinion?
TracyMemberThankyou David for the time you spent for me. I worked on the Google webmaster tools last night among other things, checking security and doing the Fetch as Google without really knowing what if anything that was accomplishing. Below is 1 of 4 links that was questionable and in the rendering I did see it as the 'title' but when I go to that link it is my site but "page not found"
http://oliversgarden.com/mess.asp?Fort-Worth-black-friday-sales-2014.php
Now, I have made a request that Google remove the note "this page may have been hacked" but don't know what will happen now. do you have any experience with any of this?
Thanks again
TracyMemberOk, fantastic that got it, thankyou genwrock and also thankyou Porter for the explanation
TracyMemberwouldn't that still remove it from the homepage?
TracyMemberOk thanks genwrock. That is removing the primary navigation but I want to keep it on the homepage. Only on the homepage. What can I change now? Thankyou
TracyMemberI think I know what the problem is but I don't know how to work it out. I modified the original functions file so my homepage header area looks different than every other page and I think it's the modification that is screwing me up. I've put it online now and here is my modified functions.php file
<?php //* Start the engine include_once( get_template_directory() . '/lib/init.php' ); //* Set Localization (do not remove) load_child_theme_textdomain( 'minimum', apply_filters( 'child_theme_textdomain', get_stylesheet_directory() . '/languages', 'minimum' ) ); //* Child theme (do not remove) define( 'CHILD_THEME_NAME', __( 'Minimum Pro Theme', 'minimum' ) ); define( 'CHILD_THEME_URL', 'http://my.studiopress.com/themes/minimum/' ); define( 'CHILD_THEME_VERSION', '3.0.1' ); //* Add HTML5 markup structure add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) ); //* Add viewport meta tag for mobile browsers add_theme_support( 'genesis-responsive-viewport' ); //* Enqueue scripts add_action( 'wp_enqueue_scripts', 'minimum_enqueue_scripts' ); function minimum_enqueue_scripts() { wp_enqueue_script( 'minimum-responsive-menu', get_bloginfo( 'stylesheet_directory' ) . '/js/responsive-menu.js', array( 'jquery' ), '1.0.0' ); wp_enqueue_style( 'dashicons' ); wp_enqueue_style( 'minimum-google-fonts', '//fonts.googleapis.com/css?family=Roboto:300,400|Roboto+Slab:300,400', array(), CHILD_THEME_VERSION ); //* Load scripts only if custom background is being used if ( ! get_background_image() ) return; //* Enqueue Backstretch scripts wp_enqueue_script( 'minimum-backstretch', get_bloginfo( 'stylesheet_directory' ) . '/js/backstretch.js', array( 'jquery' ), '1.0.0' ); wp_enqueue_script( 'minimum-backstretch-set', get_bloginfo('stylesheet_directory').'/js/backstretch-set.js' , array( 'jquery', 'minimum-backstretch' ), '1.0.0' ); wp_localize_script( 'minimum-backstretch-set', 'BackStretchImg', array( 'src' => str_replace( 'http:', '', get_background_image() ) ) ); } //* Add new image sizes add_image_size( 'portfolio', 540, 340, TRUE ); //* Add support for custom background add_theme_support( 'custom-background', array( 'wp-head-callback' => 'minimum_background_callback' ) ); //* Add custom background callback for background color function minimum_background_callback() { if ( ! get_background_color() ) return; printf( '<style>body { background-color: #%s; }</style>' . "\n", get_background_color() ); } //* Add support for custom header add_theme_support( 'custom-header', array( 'width' => 255, 'height' => 270, 'header-selector' => '.site-title a', 'header-text' => false ) ); //* Add support for structural wraps add_theme_support( 'genesis-structural-wraps', array( 'header', 'site-tagline', 'nav', 'subnav', 'home-featured', 'site-inner', 'footer-widgets', 'footer' ) ); //* Add support for 3-column footer widgets add_theme_support( 'genesis-footer-widgets', 3 ); //* Unregister layout settings genesis_unregister_layout( 'content-sidebar-sidebar' ); genesis_unregister_layout( 'sidebar-content-sidebar' ); genesis_unregister_layout( 'sidebar-sidebar-content' ); //* Unregister secondary sidebar unregister_sidebar( 'sidebar-alt' ); //* Create portfolio custom post type add_action( 'init', 'minimum_portfolio_post_type' ); function minimum_portfolio_post_type() { register_post_type( 'portfolio', array( 'labels' => array( 'name' => __( 'Portfolio', 'minimum' ), 'singular_name' => __( 'Portfolio', 'minimum' ), ), 'exclude_from_search' => true, 'has_archive' => true, 'hierarchical' => true, 'menu_icon' => 'dashicons-admin-page', 'public' => true, 'rewrite' => array( 'slug' => 'portfolio', 'with_front' => false ), 'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'revisions', 'page-attributes', 'genesis-seo' ), ) ); } //* Remove site description remove_action( 'genesis_site_description', 'genesis_seo_site_description' ); //* Reposition the primary navigation menu remove_action( 'genesis_after_header', 'genesis_do_nav' ); add_action( 'genesis_after_header', 'genesis_do_nav', 15 ); //* Reposition the secondary navigation menu remove_action( 'genesis_after_header', 'genesis_do_subnav' ); add_action( 'genesis_footer', 'genesis_do_subnav', 7 ); //* Reduce the secondary navigation menu to one level depth add_filter( 'wp_nav_menu_args', 'minimum_secondary_menu_args' ); function minimum_secondary_menu_args( $args ){ if( 'secondary' != $args['theme_location'] ) return $args; $args['depth'] = 1; return $args; } //* Add the site tagline section add_action( 'genesis_after_header', 'minimum_site_tagline' ); function minimum_site_tagline() { if ( is_front_page() && is_active_sidebar( 'site-tagline-right' ) ) { printf( '<div %s>', genesis_attr( 'site-tagline' ) ); genesis_structural_wrap( 'site-tagline' ); printf( '<div %s>', genesis_attr( 'site-tagline-left' ) ); printf( '<p %s>%s</p>', genesis_attr( 'site-description' ), esc_html( get_bloginfo( 'description' ) ) ); echo '</div>'; printf( '<div %s>', genesis_attr( 'site-tagline-right' ) ); genesis_widget_area( 'site-tagline-right' ); echo '</div>'; genesis_structural_wrap( 'site-tagline', 'close' ); echo '</div>'; }} //* Hook after post widget after the entry content add_action( 'genesis_after_entry', 'minimum_after_entry', 5 ); function minimum_after_entry() { if ( is_singular( 'post' ) ) genesis_widget_area( 'after-entry', array( 'before' => '<div class="after-entry widget-area">', 'after' => '</div>', ) ); } //* Modify the size of the Gravatar in the author box add_filter( 'genesis_author_box_gravatar_size', 'minimum_author_box_gravatar' ); function minimum_author_box_gravatar( $size ) { return 144; } //* Modify the size of the Gravatar in the entry comments add_filter( 'genesis_comment_list_args', 'minimum_comments_gravatar' ); function minimum_comments_gravatar( $args ) { $args['avatar_size'] = 96; return $args; } //* Change the number of portfolio items to be displayed (props Bill Erickson) add_action( 'pre_get_posts', 'minimum_portfolio_items' ); function minimum_portfolio_items( $query ) { if ( $query->is_main_query() && !is_admin() && is_post_type_archive( 'portfolio' ) ) { $query->set( 'posts_per_page', '6' ); } } //* Remove comment form allowed tags add_filter( 'comment_form_defaults', 'minimum_remove_comment_form_allowed_tags' ); function minimum_remove_comment_form_allowed_tags( $defaults ) { $defaults['comment_notes_after'] = ''; return $defaults; } //* Register widget areas genesis_register_sidebar( array( 'id' => 'site-tagline-right', 'name' => __( 'Site Tagline Right', 'minimum' ), 'description' => __( 'This is the site tagline right section.', 'minimum' ), ) ); genesis_register_sidebar( array( 'id' => 'home-featured-1', 'name' => __( 'Home Featured 1', 'minimum' ), 'description' => __( 'This is the home featured 1 section.', 'minimum' ), ) ); genesis_register_sidebar( array( 'id' => 'home-featured-2', 'name' => __( 'Home Featured 2', 'minimum' ), 'description' => __( 'This is the home featured 2 section.', 'minimum' ), ) ); genesis_register_sidebar( array( 'id' => 'home-featured-3', 'name' => __( 'Home Featured 3', 'minimum' ), 'description' => __( 'This is the home featured 3 section.', 'minimum' ), ) ); genesis_register_sidebar( array( 'id' => 'home-featured-4', 'name' => __( 'Home Featured 4', 'minimum' ), 'description' => __( 'This is the home featured 4 section.', 'minimum' ), ) ); genesis_register_sidebar( array( 'id' => 'after-entry', 'name' => __( 'After Entry', 'minimum' ), 'description' => __( 'This is the after entry widget area.', 'minimum' ), ) ); add_theme_support( 'genesis-connect-woocommerce' ); //* Change the footer text add_filter('genesis_footer_creds_text', 'sp_footer_creds_filter'); function sp_footer_creds_filter( $creds ) { $creds = '[footer_copyright] · <a href="http://avianorganics.com/">Avian Organics</a> · Built by <a href="http://catfishwebcreations.com/" title="Catfish Web Creations">Catfish Web Creations</a>'; return $creds; }
website link; http://www.avianorganics.com/wordpress
TracyMemberthankyou, no I am talking about the one assigned to Primary Navigation Menu location
TracyMemberThankyou Marc, I have been on Brad Dalton's site before looking and trying some and so just went back again and tried every one of them with no luck
TracyMemberStill an issue... I think it must be a permalink/.htaccess thing Below is what is in the .htaccess file. Is it correct?
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule># END WordPress
TracyMemberActually, it's not really that the stylesheet link is broken it's that it is not showing my new pages, it's my active site in the root
TracyMemberThankyou Dave, I think it is looking pretty good but I would love it if you would test it out for me and let me know if you see anything weird. I don't mind it but I don't think the boxes from the iPhone are correct??
Thanks, I've disabled the maintenance again.
TracyMemberWell it certainly is not perfect, it was very frustrating and took a whole day! None of it really made sense to me. I wonder now if someone could please look and tell me if it is acceptable now or if there are issues that I am over looking now. Thankyou
TracyMemberSo, I found a website through the forum and I copied some of their code, mostly the same as David above said to do, which I did but only in 1 spot. Now that has removed the white/blank boxes but If I want to have my excerpt and Post title in there I now still have the padding issue and having a hard time figuring that out. I'll carry on but I'm just updating as I go in case someone can help too. Thanks again
TracyMemberDavid, I appreciate the time you have taken to help me but unfortunatelly that wasn't it. I am however slowly narrowing it down... still not fixed but as I said I used this tutorial to redirect to my pages rather than posts and selected in the widget area to show my Post title and my excerpt. These together seems to throw off the padding as I can see a portion of the excerpt below the image. With only 1 of them selected ie; Post title or Excerpt there is no padding issue but I still get the 2 extra blank white boxes.
TracyMemberFantastic, that seems to have done the trick. Thankyou so much for your help!
TracyMemberThanks so much, yes I thought it looked good on my iPhone as well. This is what I see when I use that test. http://shawnigandentist.com/wp-content/uploads/2014/05/FireShot-Screen-Capture-104-Mobile-Responsive-Design-Testing-www_studiopress_com_responsive.png
TracyMemberthankyou, pretty sure it's worked, I haven't noticed it since applying the code
TracyMemberSo, is this for all themes I should do this on all my sites? I know of another one that did that too and actually I believe it was Executive Pro as well
-
AuthorPosts