Laly York
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Post Type UI] Posts Are Published But Listed As ScheduledThat is what I did to check they were published.
I just checked on the WP posts, and I see the same. On my drafts, pending and etc, the quick edit doesn’t have the “published” option.
This is very odd…
Forum: Plugins
In reply to: [Custom Post Type UI] Posts Are Published But Listed As ScheduledSure!
Thank you so much
{"guide":{"name":"guide","label":"Guides","singular_label":"Guide","description":"","public":"true","publicly_queryable":"true","show_ui":"true","show_in_nav_menus":"true","delete_with_user":"false","show_in_rest":"true","rest_base":"","rest_controller_class":"","rest_namespace":"","has_archive":"false","has_archive_string":"","exclude_from_search":"true","capability_type":"post","hierarchical":"true","can_export":"true","rewrite":"true","rewrite_slug":"","rewrite_withfront":"true","query_var":"true","query_var_slug":"","menu_position":"5","show_in_menu":"true","show_in_menu_string":"","menu_icon":"dashicons-book","register_meta_box_cb":null,"supports":["title","editor","thumbnail","excerpt","trackbacks","custom-fields","comments","revisions","author","page-attributes","post-formats"],"taxonomies":["category","post_tag"],"labels":{"menu_name":"Guides","all_items":"","add_new":"","add_new_item":"","edit_item":"","new_item":"","view_item":"","view_items":"","search_items":"","not_found":"","not_found_in_trash":"","parent_item_colon":"","featured_image":"","set_featured_image":"","remove_featured_image":"","use_featured_image":"","archives":"","insert_into_item":"","uploaded_to_this_item":"","filter_items_list":"","items_list_navigation":"","items_list":"","attributes":"","name_admin_bar":"","item_published":"","item_published_privately":"","item_reverted_to_draft":"","item_scheduled":"","item_updated":""},"custom_supports":"","enter_title_here":""},"course":{"name":"course","label":"Courses","singular_label":"Course","description":"","public":"true","publicly_queryable":"true","show_ui":"true","show_in_nav_menus":"true","delete_with_user":"false","show_in_rest":"true","rest_base":"","rest_controller_class":"","rest_namespace":"","has_archive":"false","has_archive_string":"","exclude_from_search":"true","capability_type":"post","hierarchical":"true","can_export":"true","rewrite":"true","rewrite_slug":"","rewrite_withfront":"true","query_var":"true","query_var_slug":"","menu_position":"6","show_in_menu":"true","show_in_menu_string":"","menu_icon":"dashicons-welcome-learn-more","register_meta_box_cb":null,"supports":["title","editor","thumbnail","excerpt","trackbacks","custom-fields","comments","revisions","author","page-attributes","post-formats"],"taxonomies":["category","post_tag"],"labels":{"menu_name":"Courses","all_items":"","add_new":"","add_new_item":"","edit_item":"","new_item":"","view_item":"","view_items":"","search_items":"","not_found":"","not_found_in_trash":"","parent_item_colon":"","featured_image":"","set_featured_image":"","remove_featured_image":"","use_featured_image":"","archives":"","insert_into_item":"","uploaded_to_this_item":"","filter_items_list":"","items_list_navigation":"","items_list":"","attributes":"","name_admin_bar":"","item_published":"","item_published_privately":"","item_reverted_to_draft":"","item_scheduled":"","item_updated":""},"custom_supports":"","enter_title_here":""}}
Forum: Plugins
In reply to: [Custom Post Type UI] Posts Are Published But Listed As ScheduledI have two admins, same level… (it’s just me)
I just checked on my local host and it’s also happening there. (I have no other plugins on my local host)
Forum: Plugins
In reply to: [Custom Post Type UI] Posts Are Published But Listed As ScheduledI didn’t touch the plugin… I installed it probably six months ago, and the CPT worked just fine
Forum: Requests and Feedback
In reply to: How to use strip_tags() for Query Loop Block in functions.php“a custom taxonomy”
Forum: Developing with WordPress
In reply to: making the header higherHello,
Try the following:
First, add padding to
.site-branding
and display it asflex
, so that you can center the logo easily:.site-branding { padding-top:1rem; padding-bottom:1rem; display:flex; }
Then, center the logo
.custom-logo-link { margin:auto; }
That should work
Cheers!
Forum: Themes and Templates
In reply to: [Twenty Twenty-One] change case of page title?the value of
text-transform
should belowercase
Forum: Themes and Templates
In reply to: [Twenty Twenty-One] How to not display category prefix on pageHi,
Your “Films” page, is actually an “Archive Page”; it was made when you created the category “Films”. Every time you create a tag or a category, a new archive page with the prefix (tag or category) will be created as well.
Your “Photography” page, is simply a page; like a post.
To learn more about this, check out the WordPress Hierarchy.
If you’d like to remove the prefix, you can use a function with the hook get_the_archive_title_prefix(); but you’d need knowledge on PHP and I believe you are new at this.
With this theme, you cannot hide the prefix with CSS; but with the Twenty Twenty theme, for instance, you can. So you may want to switch themes, or create a child theme for your Twenty Twenty One Theme and add the function I mentioned.
I hope this helps!
Cheers
Forum: Themes and Templates
In reply to: [Twenty Twenty-One] Editing Post Template to move dateHi,
First, I strongly suggest you to update your WordPress version to the latest one.Then, about your topic, you can easily do this with CSS and the Grid property.
Here’s an example:1. Set
.post-template-default.single-post article
as grid container (only for posts, not for post shown in archive pages)
2. If you check with the Developer tools, you’ll see that element has three children (header, entry-content and footer)
3. In your grid template, move footer above the entry content
4. Remove the border from the footer ??I hope this helps!
Oh…my…god…
I cannot believe I didn’t see that
(I honestly cannot stop laughing)Thank you so much!
We do need an extra pair of eyes sometimes
Thank you “so much”
Forum: Themes and Templates
In reply to: [Twenty Twenty] CSS SelectorsHello,
Well, the best cheat sheet is the theme’s style sheet…
Download the theme, and go through the file style.css; or, check with the developers tool.What is the website you’re having issues with?
You left it in blankAnyway… Try the following (I’m adding color and font size to the active links in the primary menu)
ul.primary-menu a { color:green!important; font-size:1.5rem; }
Hi Emmanuel,
I checked the page you showed in your screenshot, and I didn’t see any inconsistency.
Did you fix it?Forum: Themes and Templates
In reply to: [Twenty Twenty] Moving Search Bar to the Top Left of HomescreenHi sydney,
What you did is actually adding the search “block” in the footer, which is possible because the footer of this theme has widget areas.
The header, however, doesn’t have them, so you cannot move that widget to the top (unless you create a child theme)However, the Twenty Twenty Theme comes with a very fancy search on the header.
You can activate it by going to Customize > theme options, and click the box “Show search in header”.I hope this helps!
Forum: Themes and Templates
In reply to: [Twenty Twenty] Set a Page as parent of PostsHi,
Posts and Pages are different things, so posts cannot be children of pages.To achieve this, we use categories and tags.
For instance,
1) Create a category named “Guide Literie”
2) Add in its description what you added to the page
3) Assign the category to the posts
4) Change the structure of your Permalinks if you wish (Here’s how)Or,
1) Take the steps mentioned above
2) Add a “Latest Post” Block in your page “Guide Literarie” to show the posts filed under the category “Guide Literarie.”I hope this helps!
Hello!
I see you’re not using Excerpts for your posts. Maybe it’s a feature you’d like to try? Here’s how https://wordpress.com/support/excerpts/If you still want to hide the .entry-content from your Tag Archives, this should do the trick
.archive.tag article .entry-content { display:none; }