Hello,
I am looking for a good automatic syntax highlighter for self-hosted WordPress blog (not wordpress.com blog). It would be great if the syntax highlighter automatically detects code parts and highlights them.
Thanks in advance.
...
I have two pages on a WordPress site with almost identical content, but one has relevant adsense ads and the other does not (just shows ads related to WordPress).
The two pages are: site.com/ and site.com/hompage-name
These two links point to the same page, they are just referenced in two ways.
The differences in the markup of each o...
I have it currently so that my post title links to an external URL using the following code in my index.php file.
<h1><a href="<?php echo get_post_meta($post->ID, 'external-link', true); ?>"><?php the_title(); ?></a> <a href="<?php the_permalink() ?>"><small>★</small></a></</h1>
I'd like to have the title of my RSS feed to do the same...
How do I default the "Firstpane" set to open and the others are closed....
I copied the same code from this sample but on mine everything is open view here
Script
<script>
$(function() {
$("#accordion").tabs("#accordion div.pane", {tabs: 'h2', effect: 'slide', initialIndex: null});
});
</script>
<script>
// add new effect to the ta...
The htaccess file below crashed the site with an internal server error (500). This site has the misc.php patch that's discussed here:
Wordpress Bug #11903
Apparently something else is at play here or the patch is not fully addressing the issue. 3 sites went down yesterday. 2 today (so far). All sites have the patch file that's referenc...
Instead of www.example.com/author/xyz, I want to use www.example.com/artist/xyz.
I was hoping it was as easy as copying author.php to artist.php in my theme directory, but no such luck. Where does wordpress handle the special processing for the author archive pages?
.htaccess rewriting is another option, but I wasn't able to get anythi...
Hi,
Here's what I'm trying to do:
joomla in 1 subdirectory, wordpress in another.
mysite.com directs to the joomla directory
mysite.com/blog gives wordpress.
I would also like to use seo friendly permalinks for both.
I am using Zeus Linux shared hosting with Joomla 1.5 and wordpress 2.9.2, and having a great deal of trouble finding ...
Hello,
I have been writing articles on the wordpress.com blog, now i am looking to move it to self-hosted wordpress blog but i wonder:
1)
Should i move all my articles on the new blog or just put an article on my last blog that more articles will be posted on my new blog?
2)
If i move all articles on my new blog, i am not sure about...
I want to add a meta tag like this one:
<meta name="key" content="value" />
to some of the pages in Wordpress. I know, I can add this into my template and it will show up. But the thing is, I am not allowed to even touch the template. It's totally template independent.
So, I have to add the meta tag only by doing something in my plu...
I have a site in which I'm getting the following error when trying to use move_uploaded_file operation (see below)...
I also notice that when I attempt to delete a theme, WordPress asks me for my FTP credentials. I believe these issues are connected. Do you agree?
Warning:
move_uploaded_file(/home2/mySite/public_html/wp-content/th...
Hello, when I adding new post(second post - id=2 ), then showing only first 30 custom field maded in old post( this is first post - id=1, there is about 60 custom fields). Wordpress cannot save all 60 custom fields in next post adding?
...
Hi there, I have unwanted White space about the header image but this only visable from IE 7 back, IE 8 and other browsers display it perfectly.
If anyone could point me in the right direction of how to correct this then that would be fab.
Thanks in advance
tim
...
If I have lots of pages... page_ids 1-100... how do I link between the two in the editor?? I guess I can use <a href="/index.php?page_id=x">Link</a> but that's not user friendly... I want to do something like <a href="<?= get_permalink(x); ?>">Link</a> but that doesn't work either... help please... is there a handy plugin...
...
I have several sites that I want to link back to the main site which hosts the contact form (using contact form 7).
I would like to capture the request parameter "site-url" on incoming links to the contact form.
Then when the user submits the form, I would like to redirect them back to the site specified in the site-url.
Any ideas i...
I have a WP install, and every few weeks some hackers keep adding some bunk script to the bottom of certain files, making the WP site not function. I've changed the user/pass to WP and this obviously isn't working. I'm thinking since they are effecting files that are not visible via the WP login files (which are just theme files) then do...
i'm just curious. so i ask this particular question about SQLite. I haven't use this type of database extensively. but care to explain what is the basic different between SQLite and Mysql ?
The reason behind all of this is i just want to know whether it possible to use it to store wordpress data and act as a database ?
...
I've got a setting in my theme options panel to allow the user to switch the permalinks setting to support friendly URLs. I'm only allowing /%postname%/ and /%postname%.html as options.
I don't want to be triggering an htaccess rewrite everytime someone accesses a page on the site or views theme options, so I'm trying to code this to av...
I am using Wordpress's add_meta_box() function to add customized meta fields to the Add New Post page, like this. I want one of these fields to allow the user to upload a file, so that a single image, pdf, audio file, or video can be associated with the post.
The closest example I've seen is this one (link removed*). Unfortunately it do...
Is there anyway to create a special feed in Wordpress that is on a delay that I can distribute to some of our content partners? I have found some tutorials on how to delay your feed (http://wpengineer.com/publish-the-feed-later/) but it uses the conditional statement is_feed and I don't want to apply this to all feeds, just one particul...
This is the regular expression used for "shortcodes" in WordPress (one for the whole tag, other for the attributes).
return '(.?)\[('.$tagregexp.')\b(.*?)(?:(\/))?\](?:(.+?)\[\/\2\])?(.?)';
$pattern = '/(\w+)\s*=\s*"([^"]*)"(?:\s|$)|(\w+)\s*=\s*\'([^\']*)\'(?:\s|$)|(\w+)\s*=\s*([^\s\'"]+)(?:\s|$)|"([^"]*)"(?:\s|$)|(\S+)(?:\s|$)/';
It ...