Forum Replies Created

Viewing 15 replies - 16 through 30 (of 33 total)
  • Forum: Hacks
    In reply to: Slider Questions
    Thread Starter johnsimoneau

    (@johnsimoneau)

    Thanks for the response but that’s not exactly the issue.

    Currently we use the BX Slider which is not a wordpress plugin:

    https://bxslider.com

    This allows us to:

    Step 1: Link required scripts and css files in the header.

    Step 2: Create the HTML Markup in the Author Template like this:

    <ul class="bxslider">
      <li><img src="/images/pic1.jpg" /></li>
      <li><img src="/images/pic2.jpg" /></li>
      <li><img src="/images/pic3.jpg" /></li>
      <li><img src="/images/pic4.jpg" /></li>
    </ul>

    (but I can actually call my custom user profile image fields for the associated user to populate the images above)

    Step 3: Call the bxSlider via the jquery/function.

    What I was hoping to do was find another slider that allows me to do that same thing but is a wordpress plugin. With wordpress plugins I can:

    – Keep it up to date auto or via simple 1 button updates in my admin panel
    – WordPress plugins seem to be better at not conflicting with each-others scripts whereas it seems like manually putting scripts in the header myself always ends up conflicting with other things and gets sloppy.
    – I can easily determine if the slideshow is ever the instigator with other parts of the site because I can just disable the plugin
    – Sometimes the plugins have an option to only use scripts on the pages the slideshow is placed on
    – I can use the ‘plugin organizer’ with it

    Does that make sense? Thanks

    Thread Starter johnsimoneau

    (@johnsimoneau)

    So I need users with the role “this” or author-this.php template to display seo_title and seo_description meta tags in the header.

    Then I need users with the role ‘that’ or author-that.php template to display seo_title_two and seo_description_two meta tags in the header.

    <?php } else if ( is_archive( 'this' )) {  ?>
    meta tags
    
    <?php } else if ( is_archive( 'that' )) {  ?>
    different meta tags

    isn’t working. They just show ‘this’ for both users or vica versa.

    Thread Starter johnsimoneau

    (@johnsimoneau)

    This isn’t exactly the scenario because I think the exact scenario is harder to explain but if I can figure this out it will apply fine for what i need to do. So if this example is weird ignore the weirdness of it…

    Users with the “this” role have custom profile fields labeled something like seo_title and seo_description. These fields are called in the header by:

    <?php
    if( isset( $_GET['author_name'] ) ) {
        $profile_user = get_userdatabylogin($author_name);
    } else {
        $profile_user = get_userdata(intval($author));
    }
    ?>
    <title><?php echo $profile_user->seo_title; ?></title>
    <meta name="description" content="<?php echo $profile_user->seo_description; ?>" />

    They were applied to the correct user profile template by using:

    is_archive( 'this' ))

    But now we’ve added user role ‘that’ with different custom profile fields like seo_title_two and seo_description_two. We need to call those via the same fashion above but applied to the ‘that’ template.

    I’ve tried adding is_archive( 'that' ))

    below the other one but it doesn’t work. One is_archive seems to control both instead of them working independently. Hopefully that makes some kind of sense…

    Thanks!

    Thread Starter johnsimoneau

    (@johnsimoneau)

    Thanks for the quick response!

    In this case I’m actually changing meta tags that I need everyone to see. Won’t the current_user_can function only display that info to the current user instead of everyone else?

    Thread Starter johnsimoneau

    (@johnsimoneau)

    Me again, hopefully someone has some ideas…

    I need to find WHY the Types and Front End Pro plugin won’t work so I can make them work. We believe the reason why Advanced Custom Fields works and the others didn’t when using https://; is because it doesn’t store the data in a 1to1 piece of custom post meta. It stores it in a proprietary serialized array. This means that it’s not the raw https:// that is being saved to the profile meta, so it’s not triggering the problem. The problem forms are just trying to save the string as it is without modification.

    So are there any recommended changes I can make via a php.ini or something that will make things work correctly?

    Thanks

    Thread Starter johnsimoneau

    (@johnsimoneau)

    Me again, hopefully someone has some ideas…

    I need to find WHY the Types and Front End Pro plugin won’t work so I can make them work. We believe the reason why Advanced Custom Fields works and the others didn’t when using https://; is because it doesn’t store the data in a 1to1 piece of custom post meta. It stores it in a proprietary serialized array. This means that it’s not the raw https:// that is being saved to the profile meta, so it’s not triggering the problem. The problem forms are just trying to save the string as it is without modification.

    So are there any recommended changes I can make via a php.ini or something that will make things work correctly?

    Thanks

    Thread Starter johnsimoneau

    (@johnsimoneau)

    Ok, after further investigation it appears this is a bug with theTypes plugin. I installed a fresh version of wordpress on a completely different server/host and the problem was still there. I disabled the Types plugin and installed Advanced Custom Fields naming the field the same and it works beautifully.

    Thread Starter johnsimoneau

    (@johnsimoneau)

    Ok, after further investigation it appears this is a bug with both WP Front End Pro plugin as well as Types plugin. I installed a fresh version of wordpress on a completely different server/host and the problem was still there. I disabled the Types plugin and installed Advanced Custom Fields naming the field the same and it works beautifully. I will notify the author of Types…

    I’m just setting up and glancing for some answers myself in regards to some things but…

    In each post or page you have the WordPress SEO by Yoast options below the WYSIWYG editor. In the ‘advanced’ tab there you can choose whether each specific post or page is included or excluded from the sitemap.

    Not sure if that’s what you mean or not but just incase thought I’d throw it out there…

    Thread Starter johnsimoneau

    (@johnsimoneau)

    I bet I figured it out. It’s a custom theme and those authors don’t have any posts or links pointing to their url’s direct so the sitemap probably can’t find them as their is not trail to them.

    Question before purchasing plugin or addons etc. This is to any of the users above or the developer.

    We use https://wedevs.com/plugin/wp-user-frontend-pro/ which allows our wp users to add location markers to their profiles. That’s cool but unfortunately there is no search system so that we can display everyone on a map and search for them by radius etc. Same thing as “stores” but instead our wordpress users. I see all the conversation above and I’m not totally sure of the current state of the plugins functionality or hacks others may have developed. But is there something currently that would use our users location markers in their profiles to hook into this plugin as I’m trying to explain (and probably failing…LOL)?

    We have been searching for a solution for a week or so now and this peeled my eyes back as a “possible” idea. I’m hoping it rings true somehow. Thank you so much!

    Thread Starter johnsimoneau

    (@johnsimoneau)

    Yes, happens with the default theme as mentioned in my original post but it only tries to allocate 1000 bytes.

    Yes, I’ve deactivated plugins etc. Doesn’t help.

    WT3C looks pretty complex ??

    Thread Starter johnsimoneau

    (@johnsimoneau)

    Thanks, I appreciate the tip but all that does is strip the div tags for me. I’m trying to do the exact same thing just without the added step.

    I know the WYSIWYG editor can filter other things so I hoped this as well.

    We are always pasting the same thing so the DIVs are the only thing we need completely stripped.

    Thanks for any additional help ??

    Thread Starter johnsimoneau

    (@johnsimoneau)

    I have this in my wp-config?

    define(‘WP_CACHE’, true);

    Forum: Fixing WordPress
    In reply to: Force Font
    Thread Starter johnsimoneau

    (@johnsimoneau)

    Unfortunately Woo support has been lame since they ditched their forum so I’m avoiding them. I’ve got a child theme setup on theirs anyways. I’ve tried “Important!” but I’m not sure where I need to use it to override all the others by the theme or whatever is input into the wysiwyg? I’ve tried adding the important command to the child themes style.css for entry text but it was a no-go.

    I personally use the plain text only option but my staff etc keep doing copy/paste from emails etc as it works fine in their blogs. They have something setup that over-rides like I’m looking for. I agree completely that it’s not optimal but I find it best if I can get my blog just to match what theirs does and be done with it.

    Thank you for your help though. I appreciate it and hopefully there are other suggestions as to how to do this exactly.

    Thanks!

Viewing 15 replies - 16 through 30 (of 33 total)