Disable “quick edit” only for non admin in functions.php
I have this in my functions.php
I have this in my functions.php
I’m trying to make a post split in 2 columns. The first and left one is going to be any image inside the post, and the second and right one will be the_content() (excluding the images).
I would like to remove the visual editor from one specific page because if I edit this one page in Visual mode, it breaks the code. I want to make sure the client doesn’t have this option on the particular page. However, I don’t want to remove the html editor.
I want to query posts by their author role. And do something with the post based on the role.
I’ve followed this article to use Media Uploader in my code. When I click the Browse button on my form, the media uploader opens and after selecting the image, I get the URL of that image added in my form field. No issues so far.
If I were to take a standard query post.
I am using a plugin called “Types” to generate custom post types for drink/food recipes. I want to show booth drink and food recipes on the same page. The posts are displaying fine, but for some reason, when you click “newer posts” or “older posts” it will bring you to a new page, but the new page will have the same posts as page 1. Anyone have any ideas? Thanks in advance!
I have read up on this and tried it myself, but I cannot seem to figure out how to override a parent theme function using my child theme. I need to know what I am doing wrong (and I am sure there are several wrong things). Here is the function in the parent theme: function … Read more
Is there any way to remove the dashicons.min.css file from the frontend? I know that they are used by the admin panel, but my theme doesn’t use them so it’s an unnecessary request.
is that possible, without javascript hacks?
like this: