Forum Replies Created
Not quite, it’s an agency that are using the trademark name and logo as part of their url, logo and company name.
Without seeing your code, my guess would be having a play with the $pages array…
How do you define ‘non-articles’? Are they setup as custom post types, in a particular category or have particular tags?
Sorry meant to say, use the alert box in your theme we can do away with the Plugin now we know the js does work on your page
OK so can you try replacing the jquery code with just a simple alert box that pops up on page load?
OK I tested the JS you posted, it was fine.
So I guess the issue must be somewhere else. What error did you get from line
Anyway, as I don’t know how (or where) you’re calling the JS, I have written you a very basic plugin to do what you need. You can download it at: https://github.com/Shortwave-Web-Solutions-Ltd/force-js-on-wp-admin-post-page
Just edit the force-js-on-wp-admin-post-page.js file, save your JS code in there then it will throw up your alert on both the add post and edit post screens (just incase someone removes all existing categories or edits a post that doesn’t have categories after you’ve implemented the plugin).
That should solve your problem, let me know if you have any more issues with it.
An update … I emailed firstname.lastname@example.org and they said to use the themes api and the screen shots hosted by WP.
Thanks for your help 🙂
Hey do you have a link to the forum post where you found it?
I can have a look tomorrow for you (its late night here in NZ!)
Hi kcatt. I’m currently contracted to a large University (roughly the same enrolment as yours) as a Senior Business Analyst.
You didn’t mention the requirements of the site in your post. Do you have a clear idea of what the stakeholders want? That would be my first step.
Once I knew what was required (and at a large university that in itself is a huge piece of work), I would then start my research on what platforms can deliver the requirements you’ve identified. At this stage I’d keep an open mind about which ones I look at, although of course there may be limiting factors such as whether you’re purely Microsoft etc.
What is your role at the University and what have you been asked to provide exactly? Do they want a business case for switching from SP to WP or have you been tasked to just investigate what options are out there?
In my organisation this decision would go right up to the CIO due to its influence on budgets and of course being external facing.
Thanks Patrick, just sent them an email. Will post a reply here when they get back to me.
Thanks for your reply Patrick. I didn’t explain the purpose of the plugin very clearly so I think there’s a bit of confusion as to why I want to use the screenshots. Apologies for that, I’ll explain a bit better…
As a web dev I want to allow my clients to choose a selection of themes that they would be happy using for their site. From that shortlist we’ll pick the best theme to suit them.
However, I don’t want to just let them pick any theme from the WP Theme Directory because there may be some that I don’t want to work with or don’t like. Also, I don’t want my clients to have to think about the more in-depth decision-making such as last revision date, ratings, etc.
So my idea was being able to present a shortlist of themes (that I’ve selected from the Themes Directory) to my client via a plugin and having a neat way of presenting these to the client so they can choose whether or not they like each theme.
Now to be able to present each theme to the client via a screen included in my plugin, I’m going to need an image of the theme – which is what I was getting at in the OP.