Questions tagged [text]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
880 views

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

I am running into a problem where I have no idea where to add in a description so it will show up on the widget dashboard. It just keeps displaying the title. Something else I would love some help ...
0
votes
1answer
1k 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
2k 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
252 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
544 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
27 views

Web app vs CMS backend

My company that I work with would like me to investigate how I might go about creating a system in the back end of our website that our employees can you use to help speed up their workload. I am by ...
0
votes
1answer
30 views

How can style text like this in wordpress

I want to know how I can style the backgourund of text like this as shown in imgae I snipt it from here
0
votes
1answer
10 views

Disabling a plugin lead to styles being shown as plain text

After disabling a Plugin "PW Grid/List Post Layout For Visual Composer" by Proword the styles of the plugin are shown as plain text on the webpage. What could cause such behavior? I have already ...
0
votes
1answer
26 views

Updating Wordpress plugin admin panel footer text

The Wordpress admin backend displays the following footer text for each page of the admin panel: 'Thank you for creating with Wordpress'. What is the cleanest way to update this text for a particular ...
0
votes
1answer
26 views

Trying to display text in a block in a plugin page

I'm writing a plugin that needs to display text retrieved from another website (text as in lyrics) and the string I get from the query is displayed in a line, while I'd like to display it on multiple ...
0
votes
1answer
95 views

How to Add a Read-only Textbox With Text in it That Has a Button to Copy it?

I've seen this kind of thing on countless sites for different things. I'm sorry if I don't know the name of it, but here is an example of it: See where they have the textbox and it has their address ...
0
votes
1answer
655 views

Why are <link rel> tags from the header showing up on my Wordpress site? [closed]

I am testing my new WP site. I wanted to see how it worked using a text-only browser, so I fired up "links" from my shell to visit the site. At the top of the page before my navigation menu, the ...
0
votes
1answer
68 views

Wordpress function to add text warning on every pages [closed]

How to add a function to show a text (without JS) in every pages on Wordpress?
0
votes
1answer
246 views

Implement a slideshow-like frontpage with text overlays

I am looking for a WordPress solution - may be the appropriate theme or a combination of theme/plugin/widgets... - for the following: the front page of the site should present a series of fullscreen "...
0
votes
1answer
1k 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
171 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
221 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
227 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
103 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
43 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
552 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
408 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
63 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 shows ...
0
votes
1answer
32 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
3answers
83 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
933 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
70 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
901 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
199 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
4k 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 include'leftsidebar....
0
votes
1answer
3k 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, ...
0
votes
0answers
13 views

Picture and text in a box

I am quite new to wordpress and I hope my question is not to stupid. I added a screenshot of a theme I found as an example. I am specifically interested in the yellow textbox with the image on the ...
0
votes
0answers
17 views

Important : This theme text domain does not match the theme's slug

My text domain is same as my theme name and theme folder also but still getting this error in theme checker : REQUIRED: This theme text domain does not match the theme's slug. The text domain ...
0
votes
0answers
4 views

copy text from the Gmail label

How do I copy text from the Gmail label? in the html gmail display, you can copy the gmail label using the 'copy plain text' chrome extension thanks
0
votes
0answers
41 views

Visual editor keeps removing non-breaking spaces

I'm on a virgin WordPress 5.2.3 installation with twenty nineteen theme using the classic editor. I'm facing the problem, that &nbsp; entities added in text tab are removed once I edit the text in ...
0
votes
0answers
398 views

Elementor Text Editor Widget Not Working

I was working on this site from past one month and suddenly the text editor widget stopped working I have tried all the solutions. Including deactivation of all the other plugins, changing the editor ...
0
votes
0answers
43 views

How to swap text in menu item back and forth?

My article can be titled in two seemingly unrelated titles. Therefore, having the title swapping back and forth would be a cool feature. I suppose the effect would be crossfaded. The duration of the ...
0
votes
0answers
47 views

Image alt attribute

My images have alt attribute, but is not showing. My SEO pluging does not recognized them and google prensets the an alt text that is not the one I wrote but the name of the picture(file). this is how ...
0
votes
0answers
17 views

How can I quickly style a single word with a single keypress (or the most minimum keypresses)?

I run a blog on some kind of tutorial. Every page literally has 20 occurrences of a keyword that I try to explain. I need to "highlight" the keyword that is being used on every page. Currently, I ...
0
votes
1answer
27 views

How to alter static Page text through the Theme Customizer API

I am fairly new to Wordpress development so I apologize for my ignorance. How can I alter the static information on my pages (IE not entries or page content) through the Theme Customizer API? Is it ...
0
votes
0answers
10 views

Stylized text copying from blog post

the problem is: I need to let users copy text (with specific styling and easy to highlight) from my wordpress blog page to another webpage. For example - I prepare and format certain text and let ...
0
votes
0answers
13 views

automatically apply clear formating when pasting text on editor

I know there is a button on the editor that clears the formating styles from other text editors. But is it possible to apply this clear formating automatically when text is pasted?
0
votes
1answer
46 views

How to add a static text at end of a wordpress permalink

I am using simple/standard page hierarchy to get a permalink like: https://domain.com/county/city I just want to put state at the end like this: https://domain.com/county/city-nj I am unable to put ...
0
votes
0answers
28 views

Wordpress textual editor problem with new line

Wordpress version: 4.8.4 (I wouldn't like to update to 4.9.1, because that version have bug with Template Name inside pages.) I've created custom theme in Wordpress and have problem with textual ...
0
votes
1answer
43 views

Change font and Colours in Menus

I am new to WP and hoping to get some help. I am well on the way to building my new website, but have some small detail issues. I would like to change the font, size and colour of my Menu titles, and ...
0
votes
1answer
360 views

How to add text before posts

This is the picture of my site. I have "show last posts on static page" option. So I can't edit this page in page editor. But I want to add text before getting posts. How do I do this? I think just ...
0
votes
1answer
272 views

Translate site in own text-language [closed]

I have content in two language for my website(English and Arabic) .I want to translate website in these my two custom content language rather then any language translator. Please tell me how can i ...
0
votes
1answer
100 views

Cannot access my wordpress website

My WP website which I have been using for several months and working well, but suddenly today I cannot login to my admin area. I got some error message like attached. Even some regular pages of the ...
0
votes
1answer
652 views

add css to only body text

In my single wordpress posts I want to apply a padding of 100px to the left and right. The problem is that when I apply it to .single .post-content the images also get a padding. However, I want all ...
0
votes
2answers
519 views

Move text from the side of image to below image [closed]

I want to move the title of the posts under the thumbnail of the post while keeping all 3 of the posts on the same row. This seems like a fairly easy thing to do, but I can't figure out the correct ...