The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
20 views

Change Static Page content field's width to 100% [Big Brother Theme] [on hold]

I removed the sidebar from the static pages of my wordpress. By doing so, there i find a gap between the content div block and the border of the page. I tried doing many things from past many hours ...
0
votes
1answer
12 views

Update content on the fly

I am adding function to replace content on the fly for every width="*" with width="730px" and every height="*"with height="846" function replace_content_on_the_fly($text){ $replace = array( ...
0
votes
0answers
7 views

Add a excerpt to a custom WYSIWYG

I have a secondary WYSIWG on my post and I am using it to display content under a thumbnail. I am trying to figure out how to limit the amount of words I can display with the code I am using to ...
0
votes
0answers
14 views

Custom the_content filter?

I have written a plugin which uses a WYSIWYG editor to output a custom success or error message that the user can specify. HTML is allowed within the WYSIWYG editor, and I have used the_content ...
0
votes
0answers
21 views

Visual Editor not working for user on multiple computers

We are running 3.9.1, and haven't updated any plugins or our theme since the user started seeing an issue with a particular page. If the user opened up the page, nothing showed in the visual editor, ...
1
vote
0answers
17 views

Total Word Count For Posts And Comments By One Author

How can I count words in posts + tags + comments and display the number of total words used by each author ?
0
votes
1answer
30 views

Divide post content in three columns

Is it possible to split the_content() into three equal size columns? I have tried to achive that by getting this code which I found here <?php $content = get_the_content(); ...
0
votes
0answers
12 views

How to stop writing content twice on Wordpress using ajax?

I've been using javascript and ajax to do some post request inside a page and everything seems to work fine. Later on when content got more complicated I stop writing HTML code with javascript and I ...
0
votes
1answer
22 views

Using a custom field value as current users name

I'd like to use conditional logic to show a part of the single post page to a specific user. However the problem is Im pulling that username in from a custom field. Below is what I have so far. ...
0
votes
0answers
12 views

Editing content for mobile

I'm thinking about the best solution for separating content that should be displayed on different devices in the backend, e.g. desktop and mobile. The most obvious solution would be to define ...
0
votes
0answers
30 views

Member's area with private content?

To begin with, sorry for my english.. and thank you Goggle translate! :) I come to speak here because nobody knows answer me in my country. here is my problem: I created a website (in local for the ...
0
votes
2answers
40 views

Extract an embedded video from the content

I have added a post with the post format of video and I am trying to get to video so I can display the video in one div and the text in another like <div>the embedded video</div> ...
0
votes
1answer
24 views

How do I grab specific posts (by post id) and display the title, featured image, and excerpt?

I'm trying to help a friend get his site in order and he wants me to swap out the "services" posts on the front page with 4 specific posts. Thing is, I don't know the right way to do this dynamically. ...
0
votes
1answer
21 views

Editing the contents of just one div on a page from wordpress

On the homepage of the design I am integrating into Wordpress, this little area (as highlighted in the attached screenshot) needs to be editable for the client to update whenever needed, now this is ...
0
votes
0answers
31 views

Content too large to display?

I have made a post and it does not show the content of the post when the content is too large.If I insert a smaller content it shows normally. Any idea what is wrong? I have turned on the debug but it ...
0
votes
0answers
30 views

Default gallery returns as shortcode text not gallery from synchronized custom field

I'm using ACF and Polylang plugins. In ACF I have set up a custom WYSIWYG field where I create default WP gallery. Then in Polylang I have set up that it synchronizes this field across languages. So ...
0
votes
0answers
24 views

Whats the Mysql Query to Find each display_name stored in wp_postmeta.meta_value, grouped by username?

I created a custom content type that contains some fieds tos store user names (display name), thru a meta.key that is called 'opr'. Now i want a mysql query to find all custom postss date ...
0
votes
0answers
28 views

wp_insert_post iframe missing

In my install, I used one custom page. Here I put one text field and the fck editor. This is for the title and the content. I need to insert this into a page. I used the following code $my_post = ...
-1
votes
1answer
20 views

TwentyThirteen - Footer overlapping content [closed]

So, I'm designing a theme for a friend of mine, but there is a problem with the footer. Assuming the very bottom of the browser window is 1000px, it seems that the page content ends at 1000px, and ...
1
vote
1answer
50 views

Wordpress function/template tag to get first n words of the content

OK, this might be a duplicate, I was just unable to put my idea in proper search terms, sorry for that! Is there a built-in function or template tag to get the first n words of the content? I mean ...
0
votes
1answer
155 views

apply_filters('the_content') - make it ignore shortcodes?

I am using apply_filters('the_content) so I can see properly formatted content inside my wp editor in the backend. However, this also renders the shortcode that's in the content. I want it to ...
0
votes
0answers
23 views

Get a post content with selected id?

I tried to use this code on a page and woocommerce product page: <?php global $wpdb; $querystr = " SELECT * FROM $wpdb->posts WHERE ID = 2594 AND $wpdb->posts.post_type = 'post' "; ...
1
vote
1answer
31 views

How to know if user choose to show full post or excerpt?

I've seen there is a setting to choose whether to see full posts or excerpts on feed. However I'm using a theme that doesn't seem to support this functionality (it always show the full post). For this ...
0
votes
2answers
57 views

Add text to the bottom of particular pages

I want to add [one_third][responsive] <a href="http://weburl.com/lifestyle"> <img class="aligncenter size-full wp-image-176" alt="courses" src="http://weburl.com/img/buttons/courses.png" ...
1
vote
0answers
96 views

Display category description instead of “nothing found” page

I use wordpress 3.8.1 with the theme tweenty fourteen. Unfortunetly , when you click on a category with no post assigned to it for now , it's display a "not found" page. I try to make a plugins with ...
0
votes
1answer
29 views

Website showing random code like texts in a post after pasting from MS Word

My website is showing this type of content in a blog. When I click the title of same content, the content is fine there. It shows this type of content in one of the many listed contents. What can be ...
1
vote
2answers
146 views

How to change featured content to a different tag in Wordpress Twenty Fourteen?

In twenty fourteen theme, we’d like to know how to change the features content tag. Currently it’s set as featured. Now, we would like to know how to code this for different page templates. We ...
0
votes
0answers
12 views

Wordpress for app, hide certain elements

I am working on transferring a non wordpress website to wordpress and have come across a problem that I thought would be simple but turned out it's not. The website has an android app which per ...
0
votes
1answer
42 views

Migrate bbpress content to posts

I'm looking for a way to migratie a bbPress forum to post & replies. Why you ask? Well... the use of a forum in this case is an overkill. And I want to get rid of it. It's a bad apple from the ...
0
votes
0answers
105 views

How to create page with lots of dynamic content(AJAX?)

I am setting up a Wordpress-homepage which has a lot of toggled content(sort of like this: https://jqueryui.com/tabs/). So for example I have a list of links on the left side, and a content-container ...
1
vote
1answer
199 views

How to move wp-content (or uploads) outside of the Wordpress directory

I am trying to move the wp-content directory outside of the wordpress directory and hitting all kinds of weird problems. Even though ...
0
votes
1answer
18 views

Where to place landing pages or files inside wordpress?

We have some content that it's outside the wordpress instalation like landing pages, or forms which sometimes must be embedded. I'm wondering where to place them so I don't loose it if I update the ...
0
votes
2answers
162 views

Content not shown on some older browsers and mobile devices (SGS3)

I'm fronting an issue with my newly created website. I'm using Wordpress 3.8 and a custom child theme (Twenty Fourteen). I've seen a problem, where some mobile phones (like the SGS3) and some older ...
0
votes
1answer
17 views

content summary of a post disappears If an images added at the beginning of the post. how to solve it?

If I put an image at the beginning of the post my content just disappears at the home page. but when I click read more button it shows full content (single.php) index.php <?php if ...
0
votes
1answer
31 views

Why do mass updates to post_content shows in front end, but not in edit screen?

We had someone migrate several blogs in Movable Type to Wordpress recently, but we just realized they missed some of the content that was in a database field in MT labeled *entry_text_more*. For ...
0
votes
0answers
10 views

Organize a content site - should I use cpt and taxonomies or the theme?

I have built a content site which includes several types of posts: text article, video post, image gallery / presentation, audio, etc. I am using a theme for the front-end. the theme includes a page ...
0
votes
1answer
43 views

Overwriting a Shortcode

I have a theme that extends the Visual Composer plugin with a slider on the front page. The slider will show five testimonials from five different customers. I want to add the featured image of each ...
1
vote
1answer
82 views

Retrieve a specific number of words from post_Content

I would to retrieve a specific number of words from post_content, but I don't want the tags stripped. I was using wp_trim_words() before I realised that all my images are being removed, so I need an ...
2
votes
2answers
3k 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
0answers
175 views

SQL Query to select post thumbnail, post title, post content from a category

I use the db of my wordpress blog to develop a mobile application in Java. For this, I need the SQL query to display the thumbnail of a post, the title and the content in a selected category. I think ...
-1
votes
2answers
38 views

After the local installation of an old WP website I can see the homepage but I can't access to the articles, why?

I have import on my local webserver a backup of a website made using WordPress but I am finding some difficulties with PermaLink The main problem is that if I use the permalink setted as Article Name ...
0
votes
1answer
124 views

the_content() “crashes” for single pages

I have big trouble with the_content() for single.php. Whats my problem? the_content() doesn't give any output on single pages furthermore it crashes (no other PHP code below the function call is ...
0
votes
1answer
27 views

add after content don't work

I am using this code to put some functions after content, but this one don't work. It appear before the content and not after. function add_wb_posts_pagination ($content) { $content .= ...
-2
votes
1answer
50 views

Post content in another div on the same page

Im am trying to build a wordpress site that contains a sliding div that comes from above. So on the home page you see the post and normaly when you click the title of that post, you go to that page, ...
0
votes
1answer
176 views

Jetpack infinite scroll render - make different depending on post type?

I am currently working on a theme which has two post types - one is the normal "posts" post type, and the other is for portfolio posts - "mytheme_portfolio". I am using JetPack's infinite scroll to ...
0
votes
0answers
127 views

Problems with moving wp-content to a subdomain

Got a little problem. I wanted to move wp-content to a subdomain (content.sitename.com) but there's a weird problem when rendering PHP-Content (e.g. style.css.php). Every PHP file in ...
0
votes
0answers
31 views

Is there a way to publish links as we do on Facebook?

Posting links to Facebook is very convenient. Facebook automatically fetch an extract of the website you want to share and download a thumbnail. Do you know any way to get this behaviour for ...
0
votes
1answer
38 views

How to use full length of the upper part of the content and below of it is a content with a sidebar?

Can anyone help me with my problem although its simple but I'm just newbie in wordpress? Right now I'm using the default template of the theme with sidebar. So what I want to happen is above the ...
0
votes
1answer
99 views

Wordpress Twenty Eleven PhP - forcing php code to skip first post on homepage?

I have set up my Wordpress to add the wordpress Featured Image thumbnails to all posts on the homepage. How do I make the code skip adding [wordpress Featured Image thumbnails][3] to the first ...
0
votes
2answers
446 views

get parent content inside child posts

I have a custom post type where I've created 3 pages in a parent-child relationship. The pages are created like this : PARENT-CHILD-GRANDCHILD I want the child and the grandchild pages to get the ...