Adam Brown
Forum Replies Created
-
Forum: Plugins
In reply to: Is there ANY WAY to make WYSIWYG-editor to allow your own coding?Ahhh, you’re making sense now. Let me restate your problem as I understood it:
Your client isn’t writing new posts. (Well, maybe he is, but that’s not the issue here.) Your client is updating pages (in the WP meaning of “page”) that you wrote previously. But when you wrote them, you inserted markup using the code editor, but that markup disappears when the client opens the page in the visual editor. Is that the problem?
Lots of people complain about the visual editor’s “cleanup” functions, so let’s not get into the debate here as to why it removes certain code. Instead, let’s discuss the practical solution. Basically, it’s the one Otto gave to you: Separate content from presentation.
The best thing in this situation (assuming you stick with WP) is to go back and write the page entirely using the visual editor, like your client will do when he updates the page in future. Then, use your stylesheet (rather than code embedded into the post) to make that page look the way you want it. Alternatively, use a unique page template for the specific page in question (read more).
Forum: Fixing WordPress
In reply to: have rss feeds make their own “posts”?Doing this would infringe on CNN’s copyrights. As stated in their terms of service, you need permission before reposting their content.
Forum: Plugins
In reply to: Running two front page themes on one blogSounds good. For what it’s worth, Magpie and FeedWordPress are different products.
If grabbing feeds is a problem, you could instead include wp_blog_header.php (or whatever it’s called; it’s in WP’s root) into your root and set up a loop there, but I find this method more cumbersome.
Forum: Fixing WordPress
In reply to: Google Submission index.php?You don’t need to submit at all. Google largely ignores those submissions, it seems to me. If you want to get listed, make sure other (popular) sites link to yours. Then wait for Google to notice.
Incidentally, WP doesn’t typically have index.php at the end of the URL, unless you’re not using pretty permalinks.
Forum: Fixing WordPress
In reply to: <div> Tag MissingYou’ve got some validation errors, but a missing div isn’t one of them:
https://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.bdesign-studio.org%2Fservices
As for your dropping sidebar, see if searching helps:
Forum: Fixing WordPress
In reply to: I need to add posts by another author, but login as adminYes. Just choose the other author’s name from the dropdown window in the post screen. (Scroll down and look in the sidebar, it’s there.)
Forum: Fixing WordPress
In reply to: Add something that only admins can seeYou’re talking about in your theme, not the admin screens, right?
<?php if (current_user_can('level_10')){ ?> <!-- html that only admins will see --> <?php } ?>
Forum: Fixing WordPress
In reply to: how to post own postForum: Fixing WordPress
In reply to: WordPress and PHP5WP runs with PHP 5 no problem. Try disabling your plugins and switching to the default theme to see if one your plugins/theme are the problem.
Forum: Requests and Feedback
In reply to: Javatize any HTML1) Are we talking about Java or JavaScript? Not the same. I think you mean javascript.
2) Link to your blog? That way we can see whether the script isn’t making it into your source, or whether it’s not executing.
Forum: Plugins
In reply to: Running two front page themes on one blogIf it were me, here’s what I would do:
* Use WP to manage everything in /blog/.
* For the root, don’t use WP. Just use normal PHP and HTML.So now you’re wondering how to get your posts into the magazine style root? Use magpie RSS (google it) to grab your blog’s feed. More specifically, use it to grab each category feed separately. Then, use some PHP and HTML magic to display each category’s recent headlines.
As an added benefit, Magpie will cache each feed for an hour, keeping your root’s pageloads quick.
Forum: Plugins
In reply to: Is there ANY WAY to make WYSIWYG-editor to allow your own coding?harknell asks exactly what I was wondering. Maybe you could explain your situation differently?
Forum: Themes and Templates
In reply to: How to change adsense ad colors in “About”pageGo login to your adsense account, change your color preferences, and it will give you new adsense code with the new colors.
Forum: Plugins
In reply to: what are your MUST HAVE plugins? if your blog was stranded on an islandSorted by popularity:
Forum: Themes and Templates
In reply to: Strange problemTry something like this:
<?php $numposts = 0; $odd = true; if (have_posts()){ while (have_posts()){ the_post(); $numposts++; if (1==$numposts){ // display the first post }else{ // display the rest of the posts // check $odd to know whether this is going // in the left or right of your two-posts-per-row. // after displaying, toggle value of $odd: $odd = ($odd) ? false : true; } } } ?>