activefantasies
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Removing 'Screen Options' and showing all metaboxesThanks for your input!
I’ve had a good dig round and read through those pages, I’m happy knocking up (very) basic plugins or integrating into my theme. I guess ideally, I’m hoping for some kind of hook before each metabox is rendered whereby it checks its Screen Options setting, which could be used to force the box to display.
AH! Just had a brainwave while writing that, and came up with a hacky CSS solution, if you add this to functions.php:
function hide_screen_options() { echo '<style> .postbox { display:block !important; } .postbox.acf-hidden { display: none !important; } #screen-options-link-wrap { display:none !important; }'; } add_action('admin_head', 'hide_screen_options');…it adds a bit of CSS to the admin page code which sets all metaboxes (.postbox) to display:block and hide the Screen Options tab. I immediately ran into some issues with a behind the scenes Advanced Custom Fields box displaying (which is fixed by the second CSS statement), so I think this brute-force approach is probably not a permanent solution. I’ll give it a go for now, until someone on here tells me how to do it better 🙂
For the benefit of others I’ll reiterate: I just made this and it’s almost entirely untested and will break stuff. I’m posting it here as a starting point and emergency solution – hopefully, there’s a cleaner way to deactivate this functionality rather than plaster over it with CSS.
Thanks again to EMG for setting the cogs whirring. Cheers, chief.
Forum: Plugins
In reply to: [Posts 2 Posts] [Plugin: Posts 2 Posts] How to query connected attachmetsI’m having this problem too. The setup seems fine and I can link attachments to my CPT in WordPress Admin.
I’ve just can’t get the connection data back when I try to use it. I’ve got many other connections set up which are working fine, so I gather that it’s something to do with connections to/from attachments.
Any further info gladly appreciated – and thanks for an incredibly useful plugin.
Forum: Plugins
In reply to: sponsored logo listI don’t have an answer, I’m afraid but this is something I’ve often required. You see it on so many sites and for me it’s always been a sticking point when it comes to the client taking control of their own site.
Often these logos are lists of sponsors for example which will need to be changed and added to as time goes on. I’ve been supplying a PSD template and telling clients to upload their logos and then use the editor to do some basic HTML in order to get them on the site. :S
The ideal solution – and one which I will probably create myself once I have the time, if noone gets there first – would be one where large versions of the images are uploaded, there is a back-end interface for picking them out and adding a url for linking, and which then figured out how to size and position the images to best fill the space.
Anyone else have a good solution for this or know of any existing plugins?
I have solved this. It was me being a doofus.
I was using a page template for the homepage that did not display the main content field – which was still full of test data in the back end.
Thanks for a great plugin.
I too would like to be able to turn this functionality off. I’ve tried the remove_action method with no success.
Forum: Fixing WordPress
In reply to: When taxonomies are overkill, is there a better way to relate posts?Thanks folks, some good thoughts.
Posts 2 Posts looks really useful, not come across that before and will definitely be giving that a whirl immediately 🙂
Any one have any other approaches?