Forum Replies Created

Viewing 30 posts - 31 through 60 (of 71 total)
  • Author
    Posts
  • Final Note for future readers:

    The solution @Guenni007 provided above (adding code to enfold-child > functions.php achieves the goal (as of Enfold 4.6.3.1).
    The error messages I got were caused by a custom post type plugin (Toolset Types).
    In the end, I have reverted everything back to the defaults and will be using another custom post type solution to keep my team’s workflow close to what they have already learned.

    • This reply was modified 4 years, 11 months ago by steed.

    Good morning!
    I did leave the <?php up at the top of the functions.php file.
    When I used your code, everything worked, including “Books Categories.” The problem was that I also got errors:

    Notice:  permalinks in /home/tpen/jorvik.press/wp-content/themes/enfold-child/functions.php on line 24
    Notice: Undefined variable: permalinks in /home/tpen/jorvik.press/wp-content/themes/enfold-child/functions.php on line 24
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/tpen/jorvik.press/wp-content/themes/enfold-child/functions.php:24) in /home/tpen/jorvik.press/wp-includes/functions.php on line 5946
    Warning: Cannot modify header information - headers already sent by (output started at /home/tpen/jorvik.press/wp-content/themes/enfold-child/functions.php:24) in /home/tpen/jorvik.press/wp-admin/includes/misc.php on line 1252
    Warning: Cannot modify header information - headers already sent by (output started at /home/tpen/jorvik.press/wp-content/themes/enfold-child/functions.php:24) in /home/tpen/jorvik.press/wp-admin/admin-header.php on line 9
    

    I got that error using your code before I edited register-portfolio.php and I get it now.
    I wonder if there’s another plugin creating the problem.

    Thank you so much for your time. I’m learning a lot!

    UPDATE
    Here’s what I did that (mostly) worked:

    1. Went to Settings > Permalinks and changed the Portfolio ‘custom bases’ to “titles” and “titles-entries”
    2. In the enfold-child theme, I opened functions.php and pasted in this:<br />
      
      // portfolio args
      add_action( 'after_setup_theme', 'init_reg_portfolio' );
      function init_reg_portfolio() {
      	add_filter('avf_portfolio_cpt_args', 'avf_portfolio_cpt_args_mod', 50, 1);
      }
      
      function avf_portfolio_cpt_args_mod($args) {
      	$labels = array(
      		'name' => _x('Book Titles', 'post type general name','avia_framework'),
      		'singular_name' => _x('Title Entry', 'post type singular name','avia_framework'),
      		'add_new' => _x('Add New', 'portfolio','avia_framework'),
      		'add_new_item' => __('Add New Title','avia_framework'),
      		'edit_item' => __('Edit Title Entry','avia_framework'),
      		'new_item' => __('New Title Entry','avia_framework'),
      		'view_item' => __('View Title Entry','avia_framework'),
      		'search_items' => __('Search Title Entries','avia_framework'),
      		'not_found' =>  __('No Title Entries found','avia_framework'),
      		'not_found_in_trash' => __('No Title Entries found in Trash','avia_framework'),
      		'parent_item_colon' => ''
      	);
      
      	$args['labels'] = $labels;
      	return $args;
      }
      //END
      
    3. In wp-content > themes > enfold > includes > admin I opened register-portfolio.php and made the $labels = array code block look like this:
      $labels = array(
      		'name' => _x('Book Titles', 'post type general name','avia_framework'),
      		'singular_name' => _x('Title Entry', 'post type singular name','avia_framework'),
      		'add_new' => _x('Add New', 'portfolio','avia_framework'),
      		'add_new_item' => __('Add New Title','avia_framework'),
      		'edit_item' => __('Edit Title Entry','avia_framework'),
      		'new_item' => __('New Title Entry','avia_framework'),
      		'view_item' => __('View Title Entry','avia_framework'),
      		'search_items' => __('Search Title Entries','avia_framework'),
      		'not_found' =>  __('No Title Entries found','avia_framework'),
      		'not_found_in_trash' => __('No Title Entries found in Trash','avia_framework'),
      		'parent_item_colon' => ''
      	);
      

    [ NOTE: I’m not sure this is important, but I made the names match what I did in functions.php above ]

    I said “mostly works” above because “Portfolio Categories” is still visible in the options.
    screenshot of the last hold out

    I tried to follow what Ismael and mikeraymarketer were doing here to fix the same issue, but when I did it, I got errors so I walked it back.

    Hey Guenni007,

    Thank you so much! I tried it myself but am seeing these errors:
    Notice: Undefined variable: permalinks in /home/tpen/jorvik.press/wp-content/themes/enfold-child/functions.php on line 24

    Warning: Cannot modify header information – headers already sent by (output started at /home/tpen/jorvik.press/wp-content/themes/enfold-child/functions.php:24) in /home/tpen/jorvik.press/wp-includes/functions.php on line 5946

    Here are the steps I followed:

    1. Activated Enfold Child theme
    2. FTP’ed to enfold-child/functions.php
    3. Pasted in your code, Saved the file
    4. Emptied my browser cache
    5. Reloaded the dashboard

    Did I miss something?

    Hey Guenni007,

    Thank you! That first link looks exactly like what I’m asking about.
    The child-theme URL goes to the same page as the link above it — was that intentional?

    Thanks again for the help! I’ll follow that path.

    update: deleted everything, restored from backup.
    There must have been an easier solution, but whatever.
    Disappointed.

    Hi Mike,

    Thank you for your deep investigation of this problem. I’ll start disabling plugins now, and see what happens.
    In the meantime, I want to report a possibly related issue: how mobile views of multiple column layouts are showing up.
    Scroll down this page in a mobile screen perspective: http://3tophd.org
    Specifically you’ll see that the columns under “Concordia University + Faubion School” don’t stack (they used to) and same with the columns in the Color Section below that.

    Thanks again.
    Tom

    Update:
    This is still a thing, and I am surprised it’s been 3 days of silence from your team. Usually you guys are so prompt with your replies. Wondering if I posted this incorrectly. Also not sure how to best draw it to your attention.

    Hi Victoria,

    Thanks for taking a look at this for me. The page is built by a plugin called IssueM, which is supposed to allow users to easily build a magazine with easily navigable archives.
    Your tip about the full width article was right on. I changed that and now the sidebar appears where it should, but it’s filled with the wrong info. Nowhere in the settings do I say “display all pages and all categories in a sidebar” so that’s confusing me.
    The widgets settings specify a bunch of IssueM info should be in there, as on this page: http://prettycool.site/past-issues/
    Any thoughts?
    Tom

    • This reply was modified 7 years, 3 months ago by steed. Reason: Tried Victoria's suggestion. It worked. Updated reply to note that and underscore the other problem
    in reply to: Special Header Padding Questions #836099

    Yes. Rikard pointed out that I had the answer to my own question.

    But I am still waiting for an answer to #835576 if you’re not too busy. :-)

    in reply to: Special Header Padding Questions #835658

    Hi Rikard.

    (( face palm ))

    Tom

    Hi Rikard,

    Sure. Sorry about that. Here you go.

    Tom

    in reply to: Special Header Padding Questions #834555

    Thanks Jordan!

    Hey, do I still need the custom CSS I added above or is that superfluous?

    Tom

    Hi Kriesi team,

    I have a similar problem.

    I am using Enfold Child. In Sidebar Settings, I have Sidebar on Archive Pages set to left sidebar.
    When I go to an archive page (example: http://prettycool.site/issue/2017-winter/) I see the sidebar appear.
    When I go to Appearance > Widgets and load the Archive Pages with widgets, nothing appears.

    The widgets all work. When I put them on this page, they appear just fine: http://prettycool.site/past-issues/

    Can you help me figure out what I’m missing?
    You guys already have credentials.

    Thank you!
    Tom

    in reply to: CONTROL SPECIAL HEADING CUSTOM CLASS #805789

    Whoops! Thank you Sarah! Done:

    Also, maybe change the text above the private content to say “only visible for moderators and the creator of the thread.”

    in reply to: CONTROL SPECIAL HEADING CUSTOM CLASS #805255

    Hi there!

    I’m trying to manage the padding above and below my special padding and am not succeeding.

    Here’s my dev page: http://prettycool.site

    Look at “Featured Articles” heading immediately below the hero image.

    I put a modified version of the code Sarah provided above in the Custom CSS (at the top):

    .av-special-heading-tag {
         font-family:'Open Sans Condensed';
         Line-height:1.1em;
         Margin-top:0px !important;
         Margin-bottom:0px !important;
         Padding-right:6px !important;
         Text-align:left !important;
    }

    (I tried to make sure the formatting was as clean as possible).

    Hi Victoria,

    First: Thank you!

    Second, it’s working how I want it to. I just don’t know why.

    I am aware of the page ID and that’s the source of my confusion. When I look in the QuickCSS for some special instructions for page-id-772, there are none.

    When I compare the settings on the masonry gallery between this page and the other ones, it appears that my settings are identical.

    I appreciate your help previously. We don’t really need to dig into this any further. Thank you.

    Thank you Victoria!

    Last question:
    This page, http://connection.cu-portland.edu/2016-summer-alumni-notes/

    is also a masonry gallery, but hovering over the images doesn’t trigger the linking that I turned off using the QuickCSS you helped me fix.

    Why is the masonry gallery on this page behaving differently?

    Update: I figured it out, but now have another related question.

    Here’s what worked:

    .page-id-2344, .av-masonry-container,.page-id-2351 .av-masonry-container {
        pointer-events: none;
    }

    Is that the best way to write that?

    New question: I have other pages that use masonry gallery in a similar way, but I didn’t need to do that trick with the QuickCSS to turn off pointer events.

    I’m confused. Help me Obi-Kriesi, you’re my only hope.

    in reply to: Post Masonry Gallery Title overlay not working #748155

    Hi Ismael!

    That worked great! Thank you so much.

    Tom

    in reply to: Post Masonry Gallery Title overlay not working #747762

    Hi Ismael,

    Thank you for your help. Of course your solution worked, but because we all want to have our cake and eat it too, removing that code creates another problem.

    On the page I linked to above, I want the captions to show up on hover,

    but on this page, I don’t: http://connection.cu-portland.edu/2017-winter-alumni-notes/

    Specifically for that page, the excerpt and its associated feature image is the whole story — neither should be clickable.

    Is there a way to allow the masonry on hover events to work but not the on clicks?

    Thanks again.
    Tom

    in reply to: Post Masonry Gallery Title overlay not working #742580

    Hi Rikard,

    Whoops! Try again, new creds below.

    Sorry about that, and thank you for taking a look.

    in reply to: Magazine issue archive #742578

    Thanks for the clarification Andy. I’m a little surprised that Basillis and you went to the freelance developer solution so quickly.

    Did something change over there that you guys do that rather than offer guidance or point to online resources known to you that it might take me a long time to find?

    While I HOPED the initial reply would be something like “yes you can do it, just do x instead of y, and check out this other forum page for more,” what I feared you’d say is “the way your site is structured, this approach won’t work. We suggest you contact our developers and get a bid.”

    Instead, sales pitch: “Yes it’s possible, but you need to pay us to do it for you.”

    I use WordPress and Enfold as a way to get amazing websites on very tight budgets. I own two Enfold licenses myself and have bought 5 more through the clients whose websites I’ve built.

    I know I’m venting, it’s not aimed at anyone personally. It comes from being surprised and disappointed in what seems to be a change in the Kreisi Way I’ve appreciated for the last 5 years.

    in reply to: Magazine issue archive #742531

    Thank you Basillis,

    Just to be clear, I don’t expect you guys to do it for me. I wanted to know if my approach is technically possible.

    Specifically, I can’t figure out how to apply different menus to different page templates.

    Where in the Enfold documentation does it talk about creating page templates?

    Thanks again,
    Tom

    in reply to: Post Masonry Gallery Title overlay not working #741512

    Hi Rikard,

    I am having a similar problem here:

    I have the Masonry Gallery set as follows:

    • Display Excerpt
    • Display as centered image
    • Display on mouse hover

    yet nothing happens on mouse hover.
    I just now followed the advice you gave above (overwrite the theme folder with a fresh copy via FTP) and nothing changed.
    Am I missing something? Please see Private Content for admin creds.

    Thank you!
    Tom

    Hi Andy,

    The precise link was the first thing I provided: http://www.efficacious.work/s2016-wall-of-wonders/

    and the screenshot is what the site looked like before I put a special header above the image.

    It’s possible that you went to the page when we were working on it and something didn’t resolve for you in that moment, but the above link should get you there now.

    WP admin credentials in the private content area below.

    in reply to: Super wide image with hotspot display #665073

    Boo. That’s what I thought. I found a topic from 2 years ago where you said pretty much the same thing.

    Feature request, here I come. :-)

    Josue,

    You might be sorry you made that offer. ;-)

    Glad to help, let us know if you need further assistance.

    Ah! I knew it was in there somewhere. I’ll try that. Thank you, Josue.

    in reply to: Text alignment in manual excerpts? #664855

    Thanks, Yigit!

    That worked!

    Tom

Viewing 30 posts - 31 through 60 (of 71 total)