swisspenelope
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Storefront] Remove white space after sorting widgetFantastic! That worked! Thank you so much.
Forum: Themes and Templates
In reply to: [Storefront] Remove white space after sorting widgetSorry! I have now disabled Maintenance mode.
Forum: Developing with WordPress
In reply to: Correct use of wp_enqueueHi Joy,
I didn’t use the same handle for parent and child stylesheets, but I’m embarrassed to say that there was another stupid bug in there, which was why it was not behaving as expected! Found and corrected.
Thanks so much for your explanations.
Best
Swissp- This reply was modified 5 years, 2 months ago by swisspenelope.
Forum: Developing with WordPress
In reply to: Correct use of wp_enqueueJust one more question rather than opening a new post:
I find the instructions in my parent theme’s stylesheet (style.css) are coming through even though my child theme’s style.css overrides them, so would it be safe to just either get rid of parent style.css (although this throws an error in the console, obviously) OR alternatively, just wp_enqueue the child style – plus my custom plugin styles – rather than doing the wp_enqueue with first parent (in template directory) then child (using stylesheet directory)?
Thank you.
Forum: Fixing WordPress
In reply to: Any plan to make Featured Image take embed link?Thank you @sterndata! I must have posted without activating the “Send email notification” so am only seeing this now!
Forum: Developing with WordPress
In reply to: Correct use of wp_enqueueExcellent! Thanks so much!
Forum: Plugins
In reply to: [Custom Post Type UI] Where in database is CPTUI post content stored?Ok, after re-reading your reply I see that what you are in fact saying is that if the content to be stored is not in that standard WP textarea zone they call “editor”, then it’s never going to be stored in the wp_content table. Got it.
Forum: Plugins
In reply to: [Custom Post Type UI] Where in database is CPTUI post content stored?Hmm, okay – well under the heading Content Types Registered with Custom Post Type UI, I see that the third column has the heading Supports, and under that I have listed:
title
editor
thumbnail
custom-fieldsso that would appear to be correct.
In the meantime, in my db I have found several posts with post_types “acf-field” and post_names like “field_5dd83e047171b”. Post_content looks like “a:10:{s:4:”type”;s:8:”textarea”;s:12:”instructions”;s:0:””;s:8:”required”;i:1;s:17:”conditional_logic”;i:0;s:7:”wrapper”;a:3:{s:5:”width”;s:0:””;s:5:”class”;s:0:””;s:2:”id”;s:0:””;}s:13:”default_value”;s:0:””;s:11:”placeholder”;s:0:””;s:9:”maxlength”;s:0:””;s:4:”rows”;s:0:””;s:9:”new_lines”;s:7:”wpautop”;}”
Now I just have to find where the content I created has been stored – if anywhere.
Forum: Plugins
In reply to: [Custom Post Type UI] Where in database is CPTUI post content stored?Aha! Thanks a lot for your reply. I think I see where I went wrong – but still don’t know how to right it.
I’m using Elementor Pro (in an attempt to provide a really easy-to-edit environment for my client) and ACF, and to a certain degree followed an online tutorial about using these two with CPTUI. So of course I have not created a catch-all “Content” field, because instead I have about 6 ACF fields like “Ingredients”, “Steps”, “Cooking Time” etc.
It seems therefore that in order to have something coherent stored in the wp_posts table I’d need to wrap all those in the standard post_content element. Or am I missing something here?
Thanks again,
SPForum: Fixing WordPress
In reply to: Display each page ID in page listHi again
I finally had time to search more, and found a number of articles online once I started using the right search times, e.g. wordpress custom admin columns. One that helped a lot was this:
https://code.tutsplus.com/articles/add-a-custom-column-in-posts-and-custom-post-types-admin-screen–wp-24934
I didn’t particularly want to make a custom column, but this was helpful anyway.Also https://www.smashingmagazine.com/2017/12/customizing-admin-columns-wordpress/
In addition to displaying Post IDs, I’d also like to make the Tags column sortable. Tags is a particular problem because the ‘post_tag’ column is is not in the wp_posts table, but in wp_term_taxonomy.
Anyone have any tips about make Tags sortable in the posts/pages admin list?
Tks
PHForum: Fixing WordPress
In reply to: Display each page ID in page listI know, @jdembowski! I am perhaps ignorant, but not naive! Still waiting for an answer.
Thanks
PHForum: Fixing WordPress
In reply to: Display each page ID in page listHi, to send a link I would have to make you an admin member of my site.
Thanks! That’s great.
Best,
SPForum: Fixing WordPress
In reply to: Selectnav is not definedROFL, no, indeed not.
Forum: Fixing WordPress
In reply to: Selectnav is not definedThanks very much, Steve. I have always avoided buying themes, after inheriting several “good ideas” bought by clueless clients, so I tend to forget the theme-support aspect. Whether it is the latest version … well, I think I will go directly to the theme developer and hope for the best, as my client thinks I am talking in Sanscrit when I raise this kind of subject.