Forum Replies Created

Viewing 15 posts - 61 through 75 (of 75 total)
  • Author
    Posts
  • in reply to: Enfold Combo Widget – Popular Posts #793658

    No change. Rewrote the code to reference the file at its new location
    require_once( get_stylesheet_directory() . '/class-framework-widgets.php' );
    but the error persisted. (At first we left off the leading “/” in the location and it didn’t work at all, so we added that.) It is definitely still referencing the child’s class-framework-widgets.php because we can still see the edited error message.
    (Also we tried removing
    if ( ! defined( 'AVIA_FW' ) ) exit( 'No direct script access allowed' );
    from the class-framework-widgets.php again, but it was still broken [blank–no error message].)

    in reply to: Enfold Combo Widget – Popular Posts #793648

    Before we go there, can we please try this one more time?
    I edited the actual class-framework-widgets.php file in Enfold parent, and I have verified that this works to exclude categories:
    avia_get_post_list('cat=-14,-18&orderby=comment_count&posts_per_page='.$posts);
    I also know that this code correctly accesses the class-framework-widgets.php file in Enfold-child theme
    require_once( get_stylesheet_directory() . '/framework/php/class-framework-widgets.php' );
    because I edited the error “No direct script access allowed” in that file, and the error displayed as I edited it.
    So the only problem that remains is that, for some reason, the phrase
    ( ! defined('AVIA_FW'))
    is being triggered, as “AVIA_FW” is not getting defined by class-framework-widgets.php in the child theme. (I know you told me to remove that line, but it doesn’t fix the problem–it only removes the error message.)
    So my question is, how can I define “AVIA_FW” in my child theme (or is it not that simple)?

    in reply to: Enfold Combo Widget – Popular Posts #793629

    Didn’t work. :(
    Still works fine after the first change, but once I add the snippet to function.php, it breaks the site–no text this time, just a completely blank page. (I recovered the site again.)

    in reply to: Enfold Combo Widget – Popular Posts #793617

    Yes, that is at the top of my class-framework-widget.php file in my child theme.

    in reply to: Enfold Combo Widget – Popular Posts #793609

    I did recover the site, the way you just said.

    in reply to: Enfold Combo Widget – Popular Posts #793604

    I followed the instructions, but it broke the site. All I get is a blank page with this text: “No direct script access allowed”
    What could I be doing wrong?

    in reply to: Enfold Combo Widget – Popular Posts #793563

    Thanks Jordan.
    Where in that line do I specify which category to exclude? Do I replace the “4” in “cat=-4” with the category ID, or something else?
    Also, I duplicated the “framework > php > class-framework-widgets.php” file and location in my child theme, and am making my edits there. Is that correct?

    in reply to: Enfold Combo Widget – Popular Posts #793497

    Thanks for the response. I found the line, but I don’t really know how to write in the modification to the query. Could you please provide me with the modified code (and also notate where I will need to put in any post-specific info like the ID number)?
    Also, I am running my site with a child theme–can I make this change in the child theme? If so, where?
    Thanks in advance.

    in reply to: WooCommerce 3.0.0/3.0.1 and the images issue #793143

    Thanks @mensmaximus, and attn: Enfold developers.
    We just began development on our webstore today. We are running the most recent versions of WordPress, Enfold, and WooCommerce. Working in Firefox, we had this same blurry image issue on the product page. Verified the problem also existed in Internet Explorer 11 and iOS 9 (Safari). The problem did not occur in Chrome.
    We used the fix originally provided by @mensmaximus in https://kriesi.at/support/topic/enfold-theme-woocommerce-product-images-not-showing-as-of-4-4-17/page/3/#post-773385, just to fix the image problem, and it worked perfectly.
    Looking forward to Enfold being fully compatible again.

    in reply to: Enfold Combo Widget – Popular Posts #792673

    Well, I’m not really certain how to say it better, but I was wondering how the widget decides what post is “popular” and what isn’t? Like if it was based on hits or something else. But I think I figured it out: it seems to be choosing whichever posts have the most comments on them. :)
    While we’re on the subject, though, is there any way to exclude a post from the “Most Popular” list in the Enfold Combo Widget?

    in reply to: Two-Column Archive Widget #792610

    With all due respect, I don’t really understand why you guys keep asking to see or log in to my website. I’m asking about your theme–isn’t my site the same as your site, from a coding perspective?
    Anyway, I figured it out myself. Inserted the following code into my Quick CSS, and it works beautifully:

    .widget_archive ul {
      columns: 2;
      -webkit-columns: 2;
      -moz-columns: 2;
    }

    Here’s the result: http://prntscr.com/f78ty6

    in reply to: Comment Text Size #792575

    Problem solved! The first snippet works–I just had an error elsewhere in my Quick CSS.
    Thanks for the quick response, and sorry for the false alarm!

    in reply to: Changing Sidebar Font #790764

    Nevermind. I just figured out the font size on posts and pages. :)

    in reply to: Changing Sidebar Font #790749

    Perfect! Thanks a bunch. :)
    While we’re at it, is there any way to increase the font size in all posts and pages on the site as well? I know how to do it on a single post or page, but I’m looking to make a blanket change.
    Thanks.

    in reply to: Changing Sidebar Font #790744

    The post titles in “Recent Posts” and “Recent Comments” are in italics. I want to remove the italics and increase the font size. The theme came this way.
    If you still need me to post a link, please let me know.
    Thank you.

Viewing 15 posts - 61 through 75 (of 75 total)