Forum Replies Created

Viewing 15 replies - 46 through 60 (of 62 total)
  • grayayer

    (@grayayer)

    just a reminder for folks that if you want to be able to edit the entries, that comes from the Single View mode, which you can only get into if you include the “entry ID” column in your list for the directory.

    I can’t seem to figure out if it’s possible from this view to have an option to delete the person all together?

    grayayer

    (@grayayer)

    I get a similar message very often, as in:
    Strict Standards: Declaration of WC_Product_Variation::get_price_html() should be compatible with WC_Product::get_price_html($price = '') in C:\xampp\htdocs\alexandertragedy.com\wp-content\plugins\woocommerce\classes\class-wc-product-variation.php on line 455

    thus, besides the notices showing up on many pages, the PJAX doesn’t seem to play well with the WooCommerce plugin.

    Also, there seems to be a bug in that I can’t turn off the settings for PJAX notices. No matter how many times I unclick the boxes for “Show PJAX toggle:”, “Show PJAX notice”, or “Enable sticky notices” and then “update settings” it always defaults back to being enabled.

    yup. I just got confirmation that it was Bluehosts doing/fault. This was their response:

    WP Super Cache and W3TC were discovered to have remote code execution vulnerabilities. The makers of these plugins created an update a few days ago. Our admins are mass updating the 2 plugins across our servers now and anyone who had a vulnerable version of the plugin will also be getting automatically upgraded to WordPress 3.5 to prevent compatibility issues.

    Interesting article about the vulnerability:
    http://blog.sucuri.net/2013/04/update-wp-super-cache-and-w3tc-immediately-remote-code-execution-vulnerability-disclosed.html

    If your site is broken, we will help you with it but this must be done thru our ticket system by our site compatibility dept. You can open a ticket by going to cpanel, help, open a ticket. please be sure you include the url of the site that is broken and the wordpress dashboard username and password that has admin rights so we can investigate this for you.

    Having used the WordPress plug-in W3 Total Cache on several of my clients sites, I was concerned to see that there was some pretty serious security exploits. Two days ago, all of my clients who are on BlueHost experienced problems with the minification, in that it just stopped working and this caused their websites to load without any sort of style sheets. Since I also have a change tracking plug-in installed called Simple History, I went to look at what had been done lately and I saw these entries

    Plugin “W3 Total Cache” activated
    2 days ago by <Unknown or deleted user>
    Plugin “W3 Total Cache” deactivated
    2 days ago by <Unknown or deleted user>

    This wasn’t me, or any other user registered for my sites. One of my ideas for this is that the plug-in author somehow pushed an update along, or maybe BlueHost did some script on all their sites. I don’t know, and I’m looking for some answers as to how this happened. Can you help me?

    Also, you may note that The Featured Products check-box has been moved. The featured product check-box is now located on the right-hand-side of the product update page in the WordPress admin. More specifically, the WooCommerce Featured Product check-box is located in the Publish widget > Catalog Visibility

    I’ve also found the plugin bbPress to cause this type of problem.

    Simple press must be uploaded manually via FTP, or else you’ll get errors about the header not been found.

    If you want the date format to look like:

    Tuesday, March 27, 2012

    then in the widget box for “List item format” use this format: <li>#l, #F #d, #Y</li>
    You can read up further on PHP date syntax format characters.

    better yet, avoid using the plug-in for this issue and just write some code directly into the functions.php file for your theme:

    //Giving Editors Access to Gravity Forms
    function add_grav_forms(){
    	$role = get_role('editor');
    	$role->add_cap('gform_full_access');
    }
    add_action('admin_init','add_grav_forms');

    it works for me without having to use the capabilities plug-in at all.

    @seanjacob
    That works perfectly, I’m sorry I didn’t pick up on that in your other post. Thank you so much for all of your assistance with this. This really adds to my percieved value as a WordPress developer, much more so than if I was just dependent on plug-ins, which I do try to avoid as well.

    Do you have any recommendations for how I can go about learning the same knowledge about PHP structure that has allowed you to write your own custom functions here? I would love to be able to contribute back to the WordPress community and assist other novices.

    @deepbevel
    I do appreciate your recommendation to that plug-in. It’s definitely good to know another option to do this, and an easier way to recommend for others unwilling to build into writing the code themselves.

    thank you Sean, I did try using your function of “get_excerpt”. And it works great apart from the fact that if a post includes a featured image which includes a caption, it also spits out that data in the paragraph. For example, it displays:

    [caption id="attachment_1843" align="alignright" width="300" caption="Several exterior colors can be used on Victorian homes."][/caption] Exterior paint color selection can be daunting for most of our clients. Unless… more

    funny thing is, it only does this for the first excerpt in a list. your other function, listed here as get_the_popular_excerpt worked well apart from missing an actual Permalink. but I got the hang of it and now include in my functions.php file this code:

    function get_the_frontpage_excerpt(){
    	$permalink = get_permalink($post->ID);
    	$excerpt = get_the_content();
    	$excerpt = preg_replace(" (\[.*?\])",'',$excerpt);
    	$excerpt = strip_shortcodes($excerpt);
    	$excerpt = strip_tags($excerpt);
    	$excerpt = substr($excerpt, 0, 170);
    	$excerpt = substr($excerpt, 0, strripos($excerpt, " "));
    	$excerpt = trim(preg_replace( '/\s+/', ' ', $excerpt));
    	$excerpt = $excerpt.'... <a href="'.$permalink.'">Continue reading →</a>';
    	return $excerpt;
    }

    And my front page template includes this code:
    <p><?php echo get_the_frontpage_excerpt(); ?></p>

    any way that you think that you can write the function so that it automatically wraps the excerpts in a paragraph like using <?php the_excerpt(); ?> does

    I’m attempting to use <?php echo substr(get_the_excerpt(), 0,30); ?> At the website PaintAA.com so that the excerpts on the right-hand side in the sidebar are much smaller than the excerpts shown on the actual blog page. But the problem is that the excerpts is based off of characters, rather than full words. I also have to add in additional code in order to get a “read more” link.

    So I’m curious about your function, get_the_popular_excerpt.
    How does one call that within a theme file?

    Twenty Eleven only displays an author bio below the post when a blog has more than one author, AND, that other author has published at least one post.

    yes, overwriting wp-settings.php also worked for me, way easier than a full backup and restore.

    Thread Starter grayayer

    (@grayayer)

    thank you. you’re right.

    So I realize now that I can manually add the blog posts to the menu, but is there a savvier way to set it up so that the menu gets updated automatically when a new post gets created?

Viewing 15 replies - 46 through 60 (of 62 total)