|
Quick simple one, is there any way to add a message to the admin centre so I can set something up there to let the other authors know about something? I'm being kind of vague, I'll use an example. On my site I want to have a style guide that the authors can refer to before publishing a post. I thought maybe a private page would work, but I want a way to shove it in their face when they log in. That way if I ever need to notify them all of something, I can simply update the message and they'll see it when they log in. Any plugins about that will do this? Writing it out like that, it seems like it should be easy to find something but my Google fu is failing me completely. Edit: Another question, I've just implement the Disqus commenting system but I've noticed it doesn't support commenting as a Wordpress User, so the Authors and I have to login through other channels to comment, or reply or whatever. Anyone know if there's a way to integrate the two, so commenting as a Wordpress User is also possible, just as an additional option? putin is a cunt fucked around with this message at 07:43 on Jan 10, 2012 |
# ¿ Jan 10, 2012 06:51 |
|
|
# ¿ Apr 28, 2024 21:10 |
|
Speaking of custom post types... I've been working on something that called for a custom post type so I did some research and banged up a quick custom post type that has the provision for recording two custom fields of information against it. These fields are "author" and "author url". For some reason I can enter data in, save it and it sticks - I can see the data from those fields on the site, I can see the data in those fields when I edit the "post". But for some reason after a seemingly arbitrary period of time the fields are being reset to blank for some reason. Why on earth is this happening?
|
# ¿ Feb 15, 2012 08:44 |
|
fuf posted:One thing I've always wondered is what happens to a child theme if the parent theme gets an update? Could that cause conflicts or problems? The google term you're looking for is "skeleton" or "boilerplate" theme, there are a few around. I can't recommend a specific one since I haven't look too far into it but I have used a few way back and they're specifically made to serve as a basis for a child theme. Edit: Had a very brief look and this one looks pretty good as it has all the basic stuff built in and you just have to add your bells and whistles on top: http://www.simplethemes.com/blog/entry/skeleton-wordpress-theme putin is a cunt fucked around with this message at 23:23 on Sep 3, 2012 |
# ¿ Sep 3, 2012 23:17 |
|
SickBeat posted:Alright, so I'm pretty new at Wordpress, even though I've worked with it before, tweaking and updating. The easiest way is to dig through an existing theme - the default is a good start - and look at how it's put together. You will need to have at least a basic understanding of PHP in order to make your own themes. Other than that, Googling for information is a surprisingly reliable way to find tutorials as there are a LOT of them out there.
|
# ¿ Sep 26, 2012 05:10 |
|
This is driving me insane. What I want is a plugin that will add a +1 or -1 rating system to each post on my blog. All of the plugins I've tried have either thrown errors, haven't automatically inserted themselves after each post, or only offer star ratings and not the simple +1/-1 system. The one I would like to use is GD Star Ratings, but the 1.9 version doesn't seem to allow you to turn off thumb ratings on a category-by-category basis which is a requirement for me. So I got the 2.0 beta and that doesn't even seem to have a settings page (it loads up blank).
|
# ¿ Jan 13, 2013 06:52 |
|
I'm kind of at my wits end here. All I'm trying to do is add a custom image size to enable Wordpress to generate appropriately sized images for my featured post carousel. The size I'm wanting is 650x300. So I've added this to my theme's functions.php file:PHP code:
Edit: Even more puzzling, I thought maybe there was just some caching error going on so I installed the AJAX Thumbnail Rebuilder plugin which is supposed to go through each of your images and rebuild the thumbnails (for cases where you might change your thumbnail sizes after some images have already been posted in the past). The custom thumbnail size is shown in the list when I run it, but no thumbnails (even the standard ones) are actually created. putin is a cunt fucked around with this message at 00:34 on Feb 6, 2013 |
# ¿ Feb 6, 2013 00:02 |
|
Gyshall posted:Are you using a Custom Theme? Child theme? Commercial Theme? I've had problems with some functions/filters in Child Themes we have, which sucks and is too annoying for me to try to fix. Custom theme, but not a child. Built from scratch by myself so I've even tried it with the functions file completely cleared EXCEPT for the code I posted above. It's incredibly frustrating because I can't find anything wrong with what I've done, and all of the Googling I do suggests the exact same code. Edit: I also posted this question on Stack Overflow and no one has responded there either, so I'm thinking it's something annoyingly obscure. Edit again: I even tried moving the theme onto a brand new installation of Wordpress and it doesn't work there either, so it doesn't seem to be a plugin problem or anything like that. putin is a cunt fucked around with this message at 01:34 on Feb 6, 2013 |
# ¿ Feb 6, 2013 01:01 |
|
Adraeus posted:Enable error reporting and check if you have the GD library installed. You are a beautiful person - seriously, this was driving me insane.
|
# ¿ Feb 6, 2013 02:13 |
|
Cross posting from the .NET thread - has anyone here tried WP.NET? The site has virtually no information on it and I'm curious as to how well it works (if at all)?
|
# ¿ Oct 23, 2014 06:00 |
|
Resurrecting this old thread for a quick question with hopefully a quick answer. I am trying to set up a WordPress container for local development. I'm using the bitnami/wordpress image and in my Dockerfile I'm copying my theme files into the image at /wordpress_themes/my_theme and I have an init script that will symlink the contents of that directory to the /bitnami/wordpress/wp-content/themes/my_theme directory, and then set the WordPress theme to that them using wp-cli. This all works great. I can build an image that holds everything and works well, and I can also run the container with my theme directory mounted as a volume at /wordpress_themes/my_theme and my local changes will show up in the container. BUT there's always a delay, about 5 minutes. I assume something in WordPress is doing some caching of the template files, but I can't work out what it is doing and how to disable this behaviour. The changes show up just fine, it all works really nicely, but it just takes too long for the changes to show.
|
# ¿ Oct 27, 2023 03:52 |
|
Thanks guys, I really wasn't expecting any replies so soon! kedo posted:Unless you have a WP caching plugin enabled, I'd imagine the caching is taking place within your plugin. WordPress has extremely limited native caching abilities, and what you've described doesn't sound like something it would do on its own. The only custom stuff I have on there so far is the "BlankSlate" theme which I'm using as a parent theme to my own child theme. The child theme has nothing in it around caching and I can't see anything in the parent theme to imply it's caching things either. Your line of enquiry does make me wonder though whether this might be something built into the bitnami image somehow. I'm also encountering other issues, the container doesn't appear to having any internet connection from inside it either Maybe I should have just built my own WordPress image... DaWolfey posted:If you've also containerised it, then maybe you are using a reverse proxy to serve the front end? In which case, the proxy may be caching too. Nah nothing like that as yet, I'll do this eventually but haven't done anything like that yet it's just its own container with a mariadb container alongside it in a docker-compose.
|
# ¿ Oct 27, 2023 23:50 |
|
|
# ¿ Apr 28, 2024 21:10 |
|
Got it sorted - it was an env variable for the container called "PHP_ENABLE_OPCACHE". I needed to set that to "no", now it all updates immediately in dev while I can still deploy it with that flag enabled.
|
# ¿ Oct 28, 2023 03:28 |