The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
137 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 ...
0
votes
1answer
64 views

Display only text to WordPress loop without loosing the text formatting

I want to display text from content (only text) with the formating (paragraph, bold, italic.) on loop. When I am using this code: <?php echo mb_substr( strip_tags( get_the_excerpt() ),0,255); ?>...
0
votes
1answer
49 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 ...
1
vote
0answers
118 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 ...
0
votes
1answer
55 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
34 views

How to change text of a widget depend on condition?

I have text widget with default ads on it ( google ads for example ). Sometime, depend on condition like location, time, I need to change the default ads from code, just temporary only. Is there ...
0
votes
1answer
39 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
38 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
66 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
0answers
10 views

Dont split numbers in paragraph

Is there any way for numbers not to split if there are empty lines between? Would I need css, php or some Wordpress based solution? I don't know what to google for :) Searching keywords like 'php don'...
0
votes
1answer
53 views

Specific text not affected by CSS style [closed]

First, here is the URL for the page I am struggling with: http://www.xn--l-guiden-44a.dk/beers/ny/ On the page I have some p-elements with strong text, that I have modified with the following css: ....
0
votes
1answer
48 views

RTE always on text mode by default

I have installed a theme with visual composer on my wordpress and everything was working fine until I added a widget above the header. From that moment on, every time I want to create a new entry the ...
0
votes
2answers
63 views

Plugin PHP write permissions

I wrote a plugin in which one of the PHP files itself opens and writes another small text file. How to grant this PHP file the right permissions?
0
votes
0answers
136 views

Grab text from other website and copy into wordpress Contact form

I am making a wordpress website with a contact form. Of course, the information typed in by the user must be sended to the owner of the website. This is pretty simple by just putting in the right ...
-1
votes
1answer
329 views

How can I display my meta value in a textarea? [closed]

I have this saved: $description = get_post_meta( $postID, 'video_desc', true ); and then have used this in my form in textarea: value="<?php echo $description; ?>" When I check the ...
0
votes
1answer
41 views

Change amount of text displayed on homepage posts

I would like to be able to control what text appears in the boxes on this homepage better. Currently this just takes text from the beginning of the post. How can I EITHER limit the length of this ...
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 ...
0
votes
0answers
27 views

Which wordpress plugin increases the size of tag as per more number of posts on it?

I have a blog on wordpress. I have several posts on WATIR, had few on manual testing and framework That time when I visited my blog I saw that text "WATIR" appears as giant heading, but rest are ...
0
votes
1answer
57 views

Wordpress unescape text on mysql?

on database i have field desc with value \'test\' actually the input is 'test' when i gather the field for display it on table, it show \'test'\ not 'test' anyone can know how to change the value ...
0
votes
1answer
39 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
16 views

Content around featured image

any ideas how I can make this way: : http://f.cl.ly/items/41332V031Z1G2h0j0B33/example.jpg I have product image as featured image now. And I want to move text what is written in editor next to it. I ...
0
votes
1answer
106 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
0answers
146 views

Protected Excerpt Text

On this page of the WordPress Codex it says: Protected Excerpt Text The default Excerpt of a password-protected post is: "There is no excerpt because this is a protected post." This code ...
-1
votes
1answer
955 views

Change sidebar product category text color (woocommerce) [closed]

I have woocommerce shop set up here: http://museiam.ca/shop/ I am trying to change the color of the category texts to black in the left sidebar, however I've been unsuccessful so far even trying ...
0
votes
1answer
181 views

Header Image instead of dynamic text

i'd like to change the dynamic text in the header that makes the title of the site with a logo i've designed. how do i edit this code to achieve this? <div id="logo"> <?php ...
0
votes
2answers
183 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() ...
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 ...
0
votes
1answer
130 views

Auto Linking Words But Only One Time

I highly need a piece of code which will replace a simple word with a hypertext link, using str_replace method. And fortunately I found this code below, but the problem is that it repeats the link ...
1
vote
2answers
698 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.
0
votes
1answer
3k 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
38 views

Radio button problem using subtitles and mandatory field check

I have a problem with a WordPress website using radio buttons. At the moment, there are 6 radio buttons, divided in 3 groups: group of 3, group of 2 and group of 1. The groups have been made like ...
1
vote
1answer
246 views

Preserve shortcode content formatting

How can I preserve the formatting of the content within a shortcode block when I switch back and forth between the visual and text editor in TinyMCE? As in, the stuff between [myshortcode] and [/...
0
votes
0answers
72 views

Can I save part of the post in an external file and join it on the fly to avoid redundancy in the wp_posts table?

To start with, I apologise if this is a double, which I believe is the case, but searching for similar posts is not easy. In my blog, I will have a lot of posts(more than 1000 at one stage) where the ...
-5
votes
1answer
244 views

Echo get_option displays as text

I am trying to use some code that is stored as a settings option in WordPress. When I try to use the following code below however, it show up as plain text instead of executing. The option I have ...
0
votes
0answers
328 views

Text Disappearing from Blog Posts

On my Wordpress blog the text seemingly disappears at random times, try refreshing the page a few times and the text will all appear to be gone. You can highlight the text so it is still there however ...
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 ...
0
votes
1answer
29 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 ...
10
votes
4answers
21k 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 ...
0
votes
1answer
44 views

Wordpress post text starts newline after 93 characters

When typing the text of a new post, my text stops halfway the textarea and starts on a new line again. There are no linebreaks after a cut-ff sentence. When I type a single line of characters the ...
0
votes
2answers
371 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
135 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
0answers
456 views

Download html textarea content as a file

I am working on a project where the requirement is to download a textarea content as a .txt file on a wordpress site. <html> <body> <form action="#" method="post"> <textarea name=...
0
votes
3answers
79 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
127 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
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 ...
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 ...
0
votes
1answer
65 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
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....
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
280 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 ...