The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
444 views

printf and _n in this example?

what is the last $count in this example? printf( _n( 'You have published %s post.', 'You have published %s posts.', $count, 'myplugin' ), $count ); i guess the first one is to fill each ...
1
vote
1answer
583 views

How to load a post into an empty div tag anywhere across the pages?

Absolute beginner question: I need to load text into specific div tags across the page. On my html mockup its a lorem ispum text box waiting for wordpress to load the real content. So, how do i ...
0
votes
1answer
679 views

Sidebar widget: Randomly select text from a given set

I have a sidebar text widget, which displays a nice quote that's related to the blog contents. I change the quote every now and then, And I'm looking for a way to create a set of quotes and display ...
1
vote
1answer
178 views

Post specific text based on category displayed

So I'm working on a site and I need a news page that is slightly different. It is a post category but I want the text echoed at the top of the news category listing. <?php endif; ?> <?php /* ...
0
votes
1answer
2k views

Archive limit the text of the_content

here's the code for my archive page.. <?php /* Template Name: Archive Page */ ?> <?php get_header(); ?> <div id ="maincontent"class = "group"> <?php ...
0
votes
1answer
824 views

If custom image header does not exist display text header

I've added a theme options page to my site (in my functions.php file): add_custom_image_header('', 'admin_header_style'); My header.php contains this code, which displays the Featured Image as the ...
0
votes
1answer
235 views

How to query an out put value?

I have this custom query that Im working on and I need to be able to query output values as well as actual stored values. Example: $string = "This is #*&^% a test"; $string = ...
0
votes
1answer
623 views

Check & remove special characters in a field?

I would like to check whether a field has special characters, remove those characters and output (save) the value to another field. I am creating a user search function that search various fields, ...
3
votes
1answer
695 views

How to hide the Text Area in the Post Edit screen

Is there a way to hide the text area box in my custom post edit screen? All entry is done through taxonomy check boxes and a couple custom fields. I want no entry in the text area. As an ...
1
vote
4answers
951 views

HTML / Javascript in custom field textarea?

Is there a filter for allowing HTML / Javascript into a custom field textarea? I'm using get_post_meta. On the frontpage I want the HTML / Javascript to run, not to be displayed.
0
votes
2answers
1k views

export individual posts to text files or a single csv file

I'd like to export my blog posts to plain text files so I can version control and update them using emacs org-mode via the org2blog package. However, I'm unfamiliar with SQL and the wordpress ...
0
votes
1answer
126 views

Weird google bot crawl problem

I have moved my website to a VPS server. It is a Wordpress + Buddypress installation, latest versions. I don't understand why I can't see anything when I visit my site with Lynx - a text browser. I ...
0
votes
2answers
204 views

placeholder text in category form label

Is there a way to put a placeholder text in the category form label? Right now the label is empty and has a dropdown menu filled with categories. I want to make a dummy placeholder text which will be ...
1
vote
2answers
137 views

All text disappeared (seems to be a database problem)

I have an issue with text in my posts. The site is http://2buntu.com. As I don't own the server, I cannot get direct access to some things. I don't know what caused it but I think it was a plugin I ...
1
vote
1answer
46 views

content gets scrambled

Every time someone edits our blog the content is displaying all wrong. It looks perfect in the wysiwyg editor but when you publish the page the content is completely wrong (pictures displayed next to ...
1
vote
2answers
168 views

Instructions/Rules Inside Text Area

I know it is possible to change the "Enter Title Here". But is there’s a function to add text (“how to...”, “simple rules to post...”) inside the post text/input area! Any help?
1
vote
3answers
5k views

How to copy/paste web content with photos into my blog

I use my wordpress blog for research... When I write about something, the firs thing I do is research of what's already out there on given topic. What I want to do is to be able to copy paste parts of ...
0
votes
3answers
883 views

Escaping Quotes

For some reason when i try to put like a embeded video my video has slashes inside the code, but if I add it in the template itself then the code is fine i was told its "escaping quotes" anyhow this ...
0
votes
2answers
462 views

If the_post_thumbnail(); is this - echo this text

I'm using the_post_thumbnail(); (aka featured image) to show a news source logo. If I use that image, I'd like to output the name of the news source. For example: if the_post_thumbnail is ...
1
vote
3answers
2k views

Load post with a different template?

Let's say I have a single.php file with a certain layout (graphic intensive). I want to create a sort of plain-text version of the same page that is only called when the user clicks the provided ...
0
votes
1answer
1k views

Add text to Text Widget using Javascript

Wordpress has a Text Widget (at least the theme I'm using does, and I think they all do?) In this widget I can add text or HTML. If I add HTML I can include JavaScript. This works fine (I'm hosting ...
2
votes
2answers
522 views

How to search and replace text in all posts of a wordpress.com blog (NOT wordpress.org one)?

I have some texts that need to be replaced in every posts in my blog. Is it possible to do that? ps (I need to tag this question as search-and-replace but not enough reputation to do that. Please add ...
11
votes
2answers
11k views

can I add a custom format to the format option in the text panel?

In the text editor, where you can set headings and other settings, is it possible to add your own styles for clients to use? and even remove the unnecessary ones?