The tag has no usage guidance.

learn more… | top users | synonyms

12
votes
2answers
14k 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?
9
votes
4answers
20k 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 ...
6
votes
6answers
10k 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
3k 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
976 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). ...
4
votes
1answer
2k 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
921 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 alternative,...
2
votes
3answers
3k 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 link....
2
votes
2answers
3k 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. ...
2
votes
2answers
578 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
1k 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
277 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
7k 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
2answers
4k 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
3answers
3k 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
4answers
8k views

remove <div class=“textwidget”> from text-widget

When you add a text widget to a sidebar in Wordpress the widget includes this code <div class="textwidget"> How do I remove this without editing the core? FYI - I think this line is located ...
1
vote
1answer
48 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
759 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
172 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
95 views

Filter only the text in the_content

I tried to filter only the text in get_the_content for my home page, but its including my shortcode also, because in that page first row google map 2nd row text box i am using visual composer page ...
1
vote
1answer
39 views

Store unmodified text content in database

I'd like to write my Posts (and other users their Comments) in plain text and let a Markdown engine run on it later. However the Editor seems to convert the text and replaces some characters when ...
1
vote
1answer
1k 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
231 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
780 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
224 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
0answers
106 views

Visual/Text tabs in wp editor Not Showing

I have a wordpress website that i have added custom meta boxes to the post. Custom meta boxes have an editor using wp_editor(), but the editor is refusing to show the visual/text tabs on the editor ...
1
vote
2answers
664 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
145 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
2k 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
212 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
40 views

Strange ASCII characters overlapping content

I have a Wordpress theme I'm working on. All of a sudden there are random ASCII characters overlapping the nav tabs inside the hamburger menu, font-awesome characters, and social icons. I have tried ...
0
votes
2answers
10k 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
981 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
307 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
2k 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
2answers
361 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
1answer
132 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
74 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
62 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 page....
0
votes
1answer
1k 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
244 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 = preg_replace('/[^(\...
0
votes
2answers
474 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 "new-york-...
0
votes
1answer
53 views

Can't get text to wrap around image

I'm trying to get the text to wrap around my image on my about page here http://www.biggerplay.com/about But as you can see the text just sits at the bottom of the image, how can I make it wrap ...
0
votes
1answer
38 views

How to change default text for specific post type

Prelude: Let's say the text "Comments are closed" is a default WP String and you wanna change that text string to something else like "Hello World!" if is_singular('post-type') is true. Issue: Now, ...
0
votes
1answer
37 views

Test wrapping cutting words in half on my WP site [closed]

How do I solve my problem with text wrapping in my columns on: http://socialeer.dk/om-os/ I would like to have the text wrapping happen and dividing the words correctly (please note that the text is ...
0
votes
1answer
59 views

How do you render posts from outside wordpress?

I'm trying to display posts outside of the wordpress system (another system is pulling from the mysql database). However, the posts stored in the database seem to be void of <p> tags and ...
0
votes
1answer
38 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
105 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
177 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
52 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 ...