wordpress cannot enable comments - wordpress

I am trying to add new posts for my site which also should allow posting comments. But when I update, I am getting something like this "Comments are closed".
All the required options have been checked while installing wordpress.
Can anybody let me know as to where I have I done wrong?
Any suggestions are acceptable.

In the Settings section of the Dashboard Sidebar, go to Discussion, and make sure the three boxes are ticked under "Default article settings".
This will make all new posts able to accept comments. However, you may have to change that setting manually on each old page or post. Underneath the description box, there should be another box called "Discussion". If this is hidden, you can turn it on at the top under screen options.

Related

How do I edit a meta field?

Good morning! I have a small problem with a Wordpress site. Basically our site contains information above the main menu. Before, this info, was editable via a meta field directly from the Wordpress back end on the HOME page, now (since I upgraded to Wordpress 5 and 6) this meta field to change those dates above the menu I can't find it. How can I solve? I tried looking at the .phps from the file manager but can't find that section. Could you help me?
Thank you
Good Morning. If these were default custom fields from WordPress then you should check in top right screen option whether "custom fields" are checked/enabled. In latest WordPress versions with Block Editor Enabled, you will find this option when you will click on 3 dots on Top right and then in Preferences>>Panels

Users can type and edit my published post, can't figure out why

On my post from the first h2 tag and down if you click in the text you can type and edit the content. While it doesn't save, I don't want users to be able to do this. I cannot figure out why this is happening.
I originally posted this in wordpress.stack thinking this was a wordpress issue but now i'm convinced it is my code.
http://google.com/42v70w
This is not Wordpress default behaviour, it's either due to your theme (the Stanley theme) or a plugin you are running.
I note in the code, the entire <div> surrounding the contents has this attribute on it:
<div id="contentsContainer" contenteditable="true">
It doesn't look like the contents are editable on the official Stanley site, so I'd hazard a guess that you have a plugin doing something like this.
If you disable all your plugins, check if the content is editable, and then re-enable each plugin one by one you should be able to determine which plugin is doing this.
Then, I'd suggest looking into that plugin's specific settings to see whether there's an option to turn this behaviour off.
For example, here's a plugin that adds this behaviour - WP Errata - are you using that plugin by any chance?

Manual excerpt customizing

I'm currently using the latest WordPress install and using HTML5 Blank WordPress Theme by Todd Motto. I'm currently having issues with the EXCERPT function. I want to be able to manually type out a excerpt and have the read more link after the sentence. Not sure how to go about doing so. The the blank themes default is great, but I because of certain content... I need to be able to manually write an excerpt. Does anyone know how I would go about this?
Thank you!
Click the "Screen Options" tab on the very top right of the screen -
There should be a checkbox for about a dozen different things - custom fields, discussion and.. Excerpt. Just check the box for that, and the excerpt box will pop up under the post editor allowing you to type in a manual excerpt

Custom Menu Link Descriptions

I am building a custom WordPress theme and need to add descriptions to my custom menu links. According to WordPress, there is a way to do this:
"The description will be displayed in the menu if the current theme supports it."
Does anyone know how to support this?
Thanks in advance,
Tim
Wordpress' documentation on this is misleading. It actually took me quite some time to find out how to do this myself. As long as your theme supports menus (meaning, you've Registered a Custom Menu within functions.php or elsewhere), you can add Link Descriptions and other useful information by default.
In order to SEE these options, go to Appearance->Menus and click on Screen Options (up in the top right-hand corner of the screen). You will be able to enable the options you like under "Show advanced menu properties".

drupal 7 specific page shortcuts are disappearing when edit and save that node

I have created a new user and I have given the rights to edit and display some specific content type, and the user has no other rights. Also I have created for him an shortcut list with some specific nodes of that type, which he has access to see and to edit.
But the strange thing is when the user (I have checked doesn't matter which user, even the administrator user) edit and save that node, then the shortcut to that node disappear from the menu bar. I have check the shortcut list attributed to that user and there is no shortcut there.
Do you experience the same thing?
UPDATE: Found a similar issue for the menu problem I'm experiencing indicating that this is a bug: http://drupal.org/node/761648#comment-4345692
I have the same trouble. It becomes very tiresome recreating my menus every time I edit content. I don't know how to fix it, but it seems the problem stems from the 'Provide a menu link' option in the Menu Settings tab while editing content. If I don't manually change it every time I edit content, it'll automatically choose to add a menu link to the main menu, deleting it from any other menu it was in. If I uncheck it, it will still delete the old menu item anyway.
I hope someone has answers!
I had the same problem with 'basic pages'.
Changed content type (structure > content types) 'basic page' and checked all the checkboxes for 'available menus'.
If you edit the content now and set the 'provide menu link' to the correct menu it remembers it correctly and the menu items don't disappear anymore.
Hope this helps.
Nephews
Try simplifying the URLs.
One thing I've found is that if Drupal doesn't like (for whatever validation reason) your URL, it will not show it until you edit it to be acceptable.
For example, I tried adding this repeatedly without success
node/2/edit%3Fdestination%3Dadmin/content
It showed up fine when I changed it to:
node/2/edit
Perhaps something in the node URL changes when they edit it.
It's not a real bug, but a bit strange ;)
You have to edit your content type to accept all referred menus. So, the actual menu entry won't be deleted and placed in main menu.
Have fun =)

Resources