The tag has no wiki summary.

learn more… | top users | synonyms

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?
5
votes
6answers
6k views

How to Create Editable Blocks of Text for the Homepage?

I'm making a site based on WordPress. It's not going to seem a blog or WP. Just a website. So WP acts like backend where the client can edit the text blocks. Question: How can I put block of text ...
5
votes
4answers
1k views

Export all posts as individual plain txt files

I wish to export all of my posts as individual plain text files. So, the format may be something like: title.txt   Title: title Pub date: date Category: cat Lorem ipsum dolor sit amet, ...
4
votes
1answer
1k views

Automatically decrease font size for long words

I am working on an e-commerce site in which post and product titles will need to be displayed in fairly narrow divs. I would like to set a specific font size for words which can naturally fit in the ...
3
votes
1answer
693 views

How can I input a single right-to-left paragraph (Hebrew) into an English page/post?

I have an English blog. In one of the pages I want to include a Hebrew paragraph between two English paragraphs (I expect the English text to be left-aligned and the Hebrew text to be right-aligned). ...
3
votes
2answers
7k views

Stop WordPress automatically adding <br> tags to post content

Is there a way to stop WordPress from automatically inserting <br> tags when adding returns in the WordPress text editor. I would like for it to behave more like a code editor where I can ...
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 ...
2
votes
2answers
523 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 ...
2
votes
1answer
797 views

Adding a custom line of text to php code

The below code is used to pull in my Tweets and post them as individual blog posts on my Wordpress site. I would like to add a "Follow me on Twitter link" after the tweet when it is displayed in the ...
2
votes
1answer
166 views

Global, network-wide shortcodes or text replace functions

What I'm trying to achieve is a simple text-replace functions, that would be available to any site in my Wordpress Network. Basically I want to: Change [--] into &mdash; (—), Be able to ...
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 ...
1
vote
2answers
2k views

How to make shortcode to hide selection of text from post or page?

is there any shortcode or a plugin that will add new quicktag, like this example: [hidemytext]some hidden text[/hidemytext] and any text inside those tag is hidden from the post or from the page. ...
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 ...
1
vote
3answers
1k views

Hide content-box on specific pages (in admin)?

Is this possible to do somehow? In some pages i use a custom box plugin and i don't need to show the content box on some of those pages. Is it possible to hide it by page template? Or ID if template ...
1
vote
1answer
68 views

How to remove images from showing in a post with the_content()?

Trying to learn more about creating my own themes and not using any plugins I wanted an ability to display all the images in a post excluding the thumbnail in my single-foobar.php file and I can do ...
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
1answer
445 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
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
1answer
754 views

How can I highlight specific pieces of text within a blog post?

I have searched for a simple method to allow a user to highlight a specific piece of text with a user chosen color but have not found one readily apparent. I have found a few methods related to syntax ...
1
vote
1answer
214 views

Custom Fields - Taller editing area

Don't know if this is possible, but can the custom fields be adjusted to be taller in the admin panel? It's a bit tedious to have to stretch the textbox every time you want to edit an existing field ...
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 ...
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 /* ...
1
vote
2answers
77 views

Remove text tab

I would like to ask whether there is a function to remove/turn off the Text tab for users ? Enough good codes here to make a clean CMS, only this one I can not find.
1
vote
2answers
308 views

Add description to custom text widget and display the 5 recent post titles

I just started coding and working as an intern for a company. My boss asked me to create a custom text widget for practice in making word press widgets. The problem I am running into is I have no idea ...
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
4answers
952 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
1answer
208 views

Text Stating the Domain Name Appears on Every Page… How to Get Rid of It [closed]

For some reason, every page on my website has my domain name on the bottom of the page - to the right of the thumbnails. This never used to happen. I can see it in Firebug, but I still have no idea ...
0
votes
1answer
4k views

How to retrieve text only from wp_content() not from wp_excerpt()?

I'm currently developing a website with WordPress 3.5 and I need to retrieve Post Text (Only text, not include images) at Archive Page. I can retrieve it with wp_excerpt() method without any problems. ...
0
votes
1answer
680 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 ...
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 ...
0
votes
1answer
69 views

Change default italic from <i> to <em> in admin editor

I've noticed that the admin editor by default embeds any italic texts with <i> which I intend to use for icon styling. I much more prefer to wrap them with an <em>. How would I got about ...
0
votes
1answer
63 views

WordPress's “Text” Format

When using self-hosted WordPress, you have the option of writing in "Visual" or "Text" mode. Assuming there's no plugins installed, Is this "Text" format a well defined standard or pseudo ...
0
votes
1answer
56 views

Adding a line of text to php code

My wordpress theme has a button to turn breadcrumbs on or off. I want to leave the breadcrumb turned off and place a line of text where the breadcrumb would display on all pages except the home ...
0
votes
1answer
825 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
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 ...
0
votes
1answer
31 views

How to style text in Wordpress

I have recently moved to using Wordpress from Joomla and everything has been good apart from one niggling issue. When I go to edit text, I can't select much in the way of styling, only the actual ...
0
votes
1answer
14 views

How to paste into Wordpress editor without changing existing formatting in editor?

When you paste text into the default WP editor, say, right into the middle of existing text, the editor does not infer that you want to maintain the existing font-size and style in the document. ...
0
votes
2answers
39 views

How to make blog post entries appear as input form instead of just text?

I want my blog posts to appear inside of a form input box instead of just text on a page. Not the title, but only the submission. Is that possible. My index.php: <a href="<?php the_permalink() ...
0
votes
1answer
371 views

How to keep &nbsp; non-breaking spaces in the visual editor?

I often add &nbsp; between connecting words so they break down together to a new line in important text. Switching to visual tab then back to text tab removes these. What can I do to keep them and ...
0
votes
1answer
40 views

wordpress post not showing my “<somehting>” text>?

I am trying to make a post where there is a text line : some libraries to run which we will import by using "#include <filename.h>" command. instead of outputting the text as it is. It ...
0
votes
1answer
27 views

Why cant I change the text on this theme?

I am a noob at website creation, and I have only recently begun to use wordpress. I looked at a bunch of demos online and they have helped, but I a seemingly simple problem. My problem is that I am ...
0
votes
2answers
182 views

How to remove 'wordpress…' text from page titles in tabs

I am working on a site and sometimes I run into an error when logging out and on the site tab it says 'Wordpress Failure Notice'. I am trying to remove all instances of wordpress so users dont know Im ...
0
votes
3answers
71 views

Is there any way to inject text onto pages?

I run a network of sites that get updated constantly, and the content they cover is updated frequently itself. So on each page we have a "updated for [text we want injected]" Is there a way to edit ...
0
votes
1answer
71 views

Replace text in excerpt

I have a separate theme for my custom WP install that will be use for mobile users, in my case I need to change an html tag in all the excerpt instances but without altering the DB, I found this ...
0
votes
1answer
54 views

Character \ appearing before ' after saving a settings page

It's a strange issue and I've seen it happen with plugins, however I don't know how to fix it. Maybe just a PHP issue? Anyhow, I have a settings/options page with several text areas. Upon saving, a ...
0
votes
1answer
304 views

Wordpress live, custom text box validation, how to?

I am teaching British Sign Language on my website, on the alphabet section I have an image of 'signs' that spell out a word. Below I would like a text box that requires the user to input the correct ...
0
votes
1answer
160 views

How to add custom text editor in add post section?

How can I add custom text editor in wordpress? Is there any way to do that? If not, How can I add or remove certain features from it? Thanks in advance.
0
votes
1answer
700 views

Trimming a custom field to a length

I have a custom field added through the Advanced Custom Fields Plugin. I am trying to trim the content of the field down to a set number of words. I have tried to use the excerpt filter and setting ...
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, ...