Forum Replies Created
-
AuthorPosts
-
December 5, 2019 at 10:47 pm in reply to: Can I rename "Portfolio Items" to something my content team will relate to? #1163242
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.
December 5, 2019 at 10:08 pm in reply to: Can I rename "Portfolio Items" to something my content team will relate to? #1163229Good 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!
December 5, 2019 at 4:07 am in reply to: Can I rename "Portfolio Items" to something my content team will relate to? #1162772UPDATE
Here’s what I did that (mostly) worked:- Went to Settings > Permalinks and changed the Portfolio ‘custom bases’ to “titles” and “titles-entries”
- 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
- 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.
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.
December 5, 2019 at 2:46 am in reply to: Can I rename "Portfolio Items" to something my content team will relate to? #1162767Hey 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 24Warning: 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:
- Activated Enfold Child theme
- FTP’ed to enfold-child/functions.php
- Pasted in your code, Saved the file
- Emptied my browser cache
- Reloaded the dashboard
Did I miss something?
December 5, 2019 at 1:18 am in reply to: Can I rename "Portfolio Items" to something my content team will relate to? #1162763Hey 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.
March 6, 2019 at 10:02 pm in reply to: URGENT: Update to 4.5 – what if you clicked update BEFORE reading this… #1075664update: deleted everything, restored from backup.
There must have been an easier solution, but whatever.
Disappointed.September 21, 2017 at 7:07 pm in reply to: Fractional width (1/2, 1/3, etc.) columns set to Equal Height padding broken #855018Hi 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.
TomSeptember 1, 2017 at 7:32 pm in reply to: Fractional width (1/2, 1/3, etc.) columns set to Equal Height padding broken #846964Update:
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.August 9, 2017 at 6:41 pm in reply to: Remove the sidebar, pages, categories, archive in the categories. #836545Hi 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
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. :-)
Hi Rikard.
(( face palm ))
Tom
August 7, 2017 at 8:05 pm in reply to: Remove the sidebar, pages, categories, archive in the categories. #835576Hi Rikard,
Sure. Sorry about that. Here you go.
Tom
Thanks Jordan!
Hey, do I still need the custom CSS I added above or is that superfluous?
Tom
August 5, 2017 at 12:25 am in reply to: Remove the sidebar, pages, categories, archive in the categories. #834533Hi 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!
TomWhoops! 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.”
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).
May 20, 2017 at 12:42 am in reply to: Masonry Gallery – custom behavior for different pages? #796859Hi 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.
Hi Ismael!
That worked great! Thank you so much.
Tom
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.
TomHi Rikard,
Whoops! Try again, new creds below.
Sorry about that, and thank you for taking a look.
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.
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,
TomHi 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!
TomAugust 5, 2016 at 6:06 pm in reply to: Blank space and content ordering on page with Image with Hotspots used #669077Hi 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.
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. :-)
July 26, 2016 at 1:59 am in reply to: How to have background images scroll at different speed than foreground content? #665063Josue,
You might be sorry you made that offer. ;-)
Glad to help, let us know if you need further assistance.
July 26, 2016 at 1:39 am in reply to: How to have background images scroll at different speed than foreground content? #665045Ah! I knew it was in there somewhere. I’ll try that. Thank you, Josue.
Thanks, Yigit!
That worked!
Tom
-
AuthorPosts