Steven
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Problems with jQuery.load in WPMUYes, I can access https://subdomain.mysite.no.
https://subdomain.mysite.no opens a different site than https://mysite.no.I just uploaded the plugin to my “prod” server and it works fine there.
So it’s just on my locale machine.Forum: Networking WordPress
In reply to: Problems with jQuery.load in WPMUYeah, thought that it might be something like that.
This is my .htaccess file that I had to create:
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule . index.php [L]
and I added
*.mysite.no
to my httpd.conf file:<VirtualHost localhost> ServerName mysite.no ServerAlias *.mysite.no DocumentRoot I:\Development\wamp\www\mysite </VirtualHost>
And my HOST file looks like this:
127.0.0.1 mysite.no 127.0.0.1 subdomain.mysite.no
I’m not sure if there is anything out of the normal here.
Forum: Fixing WordPress
In reply to: Need to clarify the usage of add_meta_box in WordPressThanks, will check it out.
Yeah. Looked at examplse here, at WP Engineer and some other tutorials.Forum: Fixing WordPress
In reply to: Need to clarify the usage of add_meta_box in WordPressPS. I posted my problem here yesterday:
https://www.ads-software.com/support/topic/data-in-custom-meta-box-not-saved?replies=3#post-1672170
Forum: Fixing WordPress
In reply to: Need to clarify the usage of add_meta_box in WordPressYeah.
It all worked fine until yesterday. Now it’s rather unstable. Sometimes it all works, then only data in Related images meta box is saved.
Even when removing most of my stuff in functions.php and only add one metabox, data is not saved.
Would be really nice to be able to debug this somehow.
Forum: Fixing WordPress
In reply to: Data in custom meta box not savedI’m not sure what caused this problem for me. But I have opened a earlier saving of the code and it’s working now.
Forum: Fixing WordPress
In reply to: Data in custom meta box not savedI just saw that auto save might cause problems. So I have added the following code:
if (!defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) { return $post_id;
Forum: Your WordPress
In reply to: Our Fitness WebsiteI agree with jijaybajay. The first image i 500k large. Way to big.
I would also have some more information on the front page. Something that is usefull and catches the eye.
Forum: Fixing WordPress
In reply to: How can I structure my posts?Ok, call me stupid… but I don’t see the difference between categories and Taxonomies.
Especially after reading this tutorial at NetPlus.
Why don’t I just use hierarchical categories?
Forum: Fixing WordPress
In reply to: why do posts keep leaving an extra line?If you look at the HTML code for your post, you will probably see that they are wrapped in <p> tags.
Just add this line in your funtions.php file, and it will be removed:
remove_filter ('the_content', 'wpautop');
Personally I don’t remove wpautop, because then I don’t get paragraphs in posts.
Forum: Fixing WordPress
In reply to: Help! I can't get comments to display on my main page.I agree with Kapil.
Bad idea to have comments on front page. Your articlesare longenough as they are.
You should have less text on front page and let users click ‘read more’ if they want the whole article.
Forum: Fixing WordPress
In reply to: Use Two Templates in one themeJust copy and rename the template file.
For that specific page, select what template to use.
Use CSS to have the Sidebar on Left hand side.Forum: Fixing WordPress
In reply to: Problems after upgrade – Cannot map GETOk, I have narrowed it down to this.
I only get the problem when I turn on custom Permalink using
/%category%/%postname%
.If I use default permalink, all works fine.
I’ve made sure to have the following in my Apache config file:
LoadModule rewrite_module modules/mod_rewrite.so <Directory /> Options FollowSymLinks AllowOverride All </Directory>
So again, could it be my .htaccess file?
Forum: Fixing WordPress
In reply to: why do posts keep leaving an extra line?It sound’s like you have encountered WP’s wpautop.
Most probably it’s because when you hit ENTER, you start a new paragraph.
And each paragraph is encolsed in <p> tags.You can disable wpautop by adding this to your functions.php file:
remove_filter ('the_content', 'wpautop');
But then you will not get paragraphs when hitting enter.
Forum: Fixing WordPress
In reply to: How can I structure my posts?I can’t see how forms will help me here.
I’m still creating posts, not submitting a form.
Each post will also be connected to a gallery.