|
The settings are in the database, not a file. If you change the url/ip and it no longer responds you'll need to get into the wp_options table and change a couple of settings there. You are much better off developing on cheap hosting than your own machine. It is much closer to a deployment environment and you don't have to do annoying sysadmin stuff. Boogaloo Shrimp: use wp_enqueue_script and wp_enqueue_style for including stylesheets and javascript. Don't use jQuery and Prototype at the same time - pick one or the other.
|
# ¿ Mar 29, 2010 23:45 |
|
|
# ¿ Apr 28, 2024 05:31 |
|
Alfalfa posted:where? If you want to be lazy just put in some javascript to override the link and have it send them off to another page. Otherwise you'll probably have to code some crap. Lumpy posted:- Using <?php include (TEMPLATEPATH . '/cutom/MyClass.php');?> at the top ( before header() ) I can include my own classes and they will have access to $wpdb and friends? I think you should be able to have access to $wpdb as long as WP is calling the page - if you are hitting the template directly then you don't have access. There isn't going to be any scaffolding available for you to deal with DBs. Maybe a plugin will allow that. If you are happy building the stuff in Kohana go ahead and do that. Set up a template page that will call stuff from Kohana and try to do everything in there so it fits in with the site structure of your WordPress installation.
|
# ¿ Mar 31, 2010 23:08 |
|
Lots of under the hood stuff. Look for WordPress to explode in functionality very soon as people develop plugins based around custom post types actually working.
|
# ¿ Apr 3, 2010 17:48 |
|
You probably want to add a hook to user_login and then something in the admin_init that checks the user permissions and boots them if they are on a bad page.
|
# ¿ Apr 3, 2010 19:13 |
|
do get_the_content() instead of the_content and echo it out maybe?
|
# ¿ Apr 4, 2010 21:15 |
|
You probably need to save it as a different variable.code:
|
# ¿ Apr 5, 2010 16:22 |
|
The EW.com site has those links hard coded. The header/footer come from outside of WordPress and I just call the specific template. For xLanguage you might need to query the language on the homepage and apply some filters. If you link me to the actual site and possibly some code I should be able to figure it out for you. If you set a class on the homepage you can probably set the CSS to indicate which section you are in - there are a few ways to do that. is_home, is_category etc...It just depends on how your content is laid out. I'd need to get a link to figure out what is up with your index.
|
# ¿ Apr 6, 2010 04:53 |
|
I think the search is usually called by ?s=term But search.php is just the default for how search results are displayed. If you want to have a special search it might make sense to make a template that you pass queries to.
|
# ¿ Apr 19, 2010 06:30 |
|
rugbert posted:I have a search template I made, thats in my themes directory. I dont know how to make my form post results to that page tho. I cant link directly to search.php with the action (404s), and creating a page and pointing to that doesnt give me the loop. if it is ?s=value in the string then it should go use search.php - if you set up a page to use a template that reads a GET value you can probably make your own search like thing.
|
# ¿ Apr 19, 2010 16:58 |
|
Use wp_enqueue_script. It will make everything awesome. http://codex.wordpress.org/Function_Reference/wp_enqueue_script
|
# ¿ May 6, 2010 14:45 |
|
It is probably because you are calling the js path incorrectly as well. the common convention is to put it in your theme and do this. code:
|
# ¿ May 6, 2010 22:49 |
|
Also check your general settings. You usually define the blog path there.
|
# ¿ May 14, 2010 17:17 |
|
GEMorris posted:Ok, my current business website: https://www.oslopress.com , while standards compliant, is dated looking and aggravating to update. It is all xhtml/css, other than the blog which is run on wordpress. We need an updated website to show our new products and to hopefully do a better job of customer conversions. WordPress will work for you. As long as you are willing to spend a little on hosting in order to support the amount of traffic you get. I think a normal site should be able to handle around 1k pageviews a day as long as it doesn't get crazy spikes. Good caching also helps out a lot. I sometimes have issues with http://thisishistorictimes.com/ when it gets a big flood of users but even then I can usually handle about 1k an hour on my box. I support sites hosted on VIP that get close to 750k pageviews a day. The cost of that is a bit more but it shows you the system is capable. If you are going to be responsible for making the site I think you'll find it possible to accomplish what you want without a lot of outside help. A $30 theme that you can modify isn't a bad investment. There are a couple of e-commerce plugins for WordPress. I think the market is going to expand greatly once 3.0 comes into play. It is going to make it much easier for competent developers to make a good e-commerce solution that fits the updated data model.
|
# ¿ May 18, 2010 05:15 |
|
If WordPress had trouble supporting sites that got 1k hits a day then it wouldn't be as popular as it is. Those kinds of sites are all over the place and WordPress does a great job of serving them up. Don't worry about traffic issues. If you have issues you'll have enough income to support those issues. I'm a pretty biased person but I think WordPress is the future of publishing. It continues to gain momentum and becomes larger every day. Security and performance are minor issues really - as long as you use good plugins the WordPress core is pretty secure. You are on the right track. Don't let others move you away from WordPress.
|
# ¿ May 18, 2010 18:43 |
|
I think WP security is pretty strong unless you have a bad host or use old plugins. I have seen some sites get hacked but it was because of a plugin that used an old version of magpie I do believe. And performance isn't going to be an issue if you have the right host. I don't think you will be doing anything unusual that other WordPress sites aren't doing and with proper caching WordPress is quite fast. I'm hoping we'll see more companies offering WordPress specific hosting. WordPress.com uses nginx instead of Apache and it is much faster. Object caching is also very useful but you kind of have to reenable it. If you can hook things up to memcached you can have a very optimized site. But honestly, I wouldn't worry too much about either issue. At least in the sense that they are specific issues with WordPress and look at it as something that should be an issue with any system you end up choosing. WordPress has changed dramatically over the last two years and we will see many big improvements this year. There are some nice tutorials about locking down your WordPress to make it secure and many options for making it faster.
|
# ¿ May 19, 2010 03:20 |
|
I'd make a page called lightbox and then have a bunch of child pages for each piece of content. Then just make the script read through the children of the lightbox page and make the links for each of the children and have them set up to appear in the lightbox when clicked. You can make a template for lightbox specific pages or modify page.php to check if $_GET[lightbox] == true and then have it do something different for the header and footer.
|
# ¿ May 27, 2010 21:35 |
|
Yeah, just use pages instead of posts. Posts are for categorized/tagged content that is associated with a date. Pages are for content that has hierarchical structure. The idea is that you can get at posts in multiple ways but pages only live on a single url.
|
# ¿ Jun 14, 2010 06:11 |
|
I've been to a ton of WordCamps and the people who seem to love WordPress the most are the small business owners who are able to put in content easily. It doesn't get easier than WordPress.
|
# ¿ Jun 15, 2010 14:06 |
|
fuf posted:Any idea how I would get rid of the word "Protected" that appears in front of a page title if you add a password to the page? Actually. It is slightly complex because that is hardcoded in there. code:
|
# ¿ Jun 16, 2010 05:21 |
|
Lumpy posted:Ned should write a book if he hasn't already. I know a couple of folks who have written WordPress books. I think the market is pretty saturated right now. I actually need to redo my website and try and build up my brand. I get introduced to major companies who want to use WordPress but I can't communicate well because I am in Japan now and the time difference is pretty drat rough. People over here still use Movable Type but a lot of folks are starting to switch to WordPress. I think the market will explode in about a year so I am trying to set things up over here and take advantage of the opportunity when it arrives. Midnight-: I don't you really need a framework. Just build off of the Twenty Ten theme that is the default in 3.0 - it is quite well written and a lot of the theme frameworks toss in a bunch of stuff that might be outdated by now.
|
# ¿ Jun 17, 2010 04:48 |
|
nina posted:Is anyone here using Thesis? Is it worth the price? If you use Thesis I will never answer your questions. The guy is a douche and it is mostly an MLM.
|
# ¿ Jun 18, 2010 02:01 |
|
If you have access to good caching or don't receive a lot of traffic I highly recommend Head Cleaner as a plugin. It is amazing - I haven't seen another CMS which has such a useful plugin.
|
# ¿ Jun 21, 2010 17:45 |
|
Just go with 3.0. WordPress hasn't changed too much as far as most people should be concerned.
|
# ¿ Jun 22, 2010 09:04 |
|
atastypie posted:Anyone able to provide a brief example on adding custom columns to a custom post type, and then pulling that custom column in a loop? The codex is lacking, and a few blog posts I've tracked down all do it differently / they don't work I'll get this to you soon. I have to look at my code and clean it up a little.
|
# ¿ Jun 23, 2010 14:09 |
|
I think you have your selector wrong.code:
|
# ¿ Jun 24, 2010 03:19 |
|
What CSS file did you put it in? I'm looking at the css and not finding anything and I'm not seeing an image on the server either. Also, your display:block; needs to have a ; at the end or it breaks things. And Lumpy is right about them being block elements. So you don't actually need it there. When you put a background on an anchor tag you usually need to make it into a block element to work properly.
|
# ¿ Jun 24, 2010 04:43 |
|
Don't use dreamweaver. Use firefox with firebug and test it out on the live site.
|
# ¿ Jun 24, 2010 05:36 |
|
You really need to enable the post_thumbnail option. It will rock your world.
|
# ¿ Jun 24, 2010 14:03 |
|
Strict 9 posted:Funny, I came in here to bitch about Thesis and saw this. Wow. I don't envy you at all. The guy basically made up his own rule set to go on top of WordPress a while back and in the meantime WordPress got a hell of a lot better and he tossed all of his efforts into marketing.
|
# ¿ Jun 29, 2010 00:56 |
|
It is really a shame but I think he has to be sued. He has no respect for the underlying system on which he decided to build his framework and seems to have no understanding of software licensing at all. He basically turned his customers into walking salespeople as they were given financial incentive to sell Thesis through affiliate links, which is different from most people who like WordPress as they are focused on getting folks to use WordPress because they believe it is a good system - not because they stand to make money from converting people. Also, I can't believe he considers himself to be important because of 37k downloads. I've met the guys who are in charge of the #1 and #2 most downloaded plugins. They are humble as gently caress and ultimately surprised at the amount of downloads they have. They don't even like to mention their numbers nor what they have accomplished. 37k is nothing compared to 2 million+ downloads. But yeah, there is that whole more money = better than. But if he does get slapped with a lawsuit I think it could be incredibly painful for the entire WordPress community. But seriously, how does someone create a product based on WordPress without agreeing with the license behind it?
|
# ¿ Jul 18, 2010 19:32 |
|
KuruMonkey posted:Do I have to filter "the_content" and then parse for image tags?!? Probably this. Alternatively, you could shove the_content into simplehtmldom in order to not write a regular expression and then just find the img tags and wrap them there. But you'd have to include simplehtmldom with your theme.
|
# ¿ Jul 23, 2010 04:49 |
|
Make a template for that page and then have the template handle the post with the e-mail address. Or, make a template than can handle an AJAX request with the e-mail address and then put it on every page. Failing that, make something in functions.php that checks for a specific post request and have that handle things.
|
# ¿ Jul 23, 2010 19:20 |
|
Just shove a class onto the post with the author id appended to it. Then you can css it up.
|
# ¿ Aug 6, 2010 08:22 |
|
rugbert posted:Well, I mean they as in the different developers. You can add/hide stuff in the dashboard using functions. Don't modify any files outside of the theme/plugin directories.
|
# ¿ Aug 17, 2010 07:04 |
|
If you want to have multiple areas of content on a single page/post use this plugin. http://wordpress.org/extend/plugins/secondary-html-content/
|
# ¿ Aug 18, 2010 08:09 |
|
If you want to do it based on a $_GET val then it should be easy. Just have something in the functions.php file that checks if the $_GET val exists, then unenqueue the native stylesheet and tell it to use a different one instead. Or you can just tack on an additional stylesheet if you only want small changes. If you want to change the actual layout of the html it is going to be more work, but if you can do it with stylesheets then it isn't going to be much of an issue.
|
# ¿ Aug 18, 2010 11:14 |
|
Kubrick is old old old. Take a look at TwentyTen for a bit and base stuff off of that.
|
# ¿ Aug 18, 2010 12:03 |
|
I would suggest looking at this code. http://wordpress.org/extend/plugins/wp-hide-dashboard/
|
# ¿ Aug 19, 2010 02:23 |
|
tack on post_status=future to the string and that should work.
|
# ¿ Sep 15, 2010 01:49 |
|
|
# ¿ Apr 28, 2024 05:31 |
|
I have been using qTranslate for multilingual sites. It is pretty simple. Most people use Contact Form 7 for their contact page. The caching plugins are good - maybe wc3 total cache is best now? I'm not really sure. I really like head cleaner. It does some amazing stuff to the head element.
|
# ¿ Sep 16, 2010 03:58 |