The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
36 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
0answers
9 views

Sidebar text widget and duplicate content [closed]

Is a text sidebar widget OK with SEO point of view? This widget has a 100 words text and its shown on every page. I am concerned about duplicate content issue. I have a website that lists upcoming ...
0
votes
1answer
22 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
19 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
27 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
29 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
29 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
24 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 ...
0
votes
1answer
75 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
10 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
30 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
46 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
84 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
17 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
116 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
15 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
26 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
9 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
27 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
67 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 ...
1
vote
2answers
589 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
85 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
32 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
75 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
26 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
34 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
83 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
108 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
30 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
29 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
76 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
296 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 ...
0
votes
1answer
59 views

How can I add a default description to uploaded files?

Is there a way to add a default description for media files as soon as they are uploaded to WordPress? Specifically, I want to modify the code here to extract the text from PDF files and include it ...
0
votes
1answer
93 views

QA/Staging envirnoment for wordpress sites

I have different wordpress environments as Local, Staging, Live. I start writing contents with Local, then push to Staging and once Tested on staging need to push to live server I know that I can ...
0
votes
0answers
29 views

Language Redirect

I'm newbie on Wordpress. I'm using WP Pro Quiz plugin and qTranslate . On WP 3.7.1 qTranslate doesn't work fine so I'd like to overwrite a page content by code i.e on page 800 there is this shortcode ...
0
votes
1answer
125 views

if the post has content

I am setting up a one page wordpress site. I am getting some pages listed in my site that does not have content. For example, I will get the empty blog page as well as the blog template. So I thought ...
0
votes
1answer
41 views

How to create custom content on custom page from plugin?

I have a plugin that I'm working on and I'd like the plugin to create and display custom content on a "page" created using a rewrite rule. I've successfully created the rewrite rule with ...
0
votes
1answer
51 views

Strategy for handling hierarchical pages with empty parent content

Let assume I have the following page structure /about-us (used as a parent holder only) /about-us/history (real page) /about-us/team (real page) /about-us/industry (real page) There is no content ...
0
votes
0answers
83 views

Wordpress : “link to existing content” not shows custom post types

I've seen many people who write for similar problem, i.e. to remove a custom post type on the search box for "link to existing content" on the tinyMCE editor of Wordpress. I've a reversed problem, I ...
0
votes
2answers
128 views

Wordpress page content outside Wordpress

I have a strange request. Is it possible to load the content of a Wordpress page in a normal PHP page? For example I want to display the content of the wordpress page 4 in a PHP page that is on the ...
0
votes
1answer
30 views

Accessing the Posts page Content

I have a Posts page set in settings->reading - posts page is set to a page called "notes" How can I access the title, content & featured image of the page? WP seems to want to access the first ...
0
votes
1answer
184 views

Which template holds what to display when search returns nothing

Question is clear I guess. Normally, which template is returned when no search results are found. I would say search.php, but my parent theme's (twenty thirteen) search.php looks like this (slightly ...
0
votes
0answers
29 views

Choose to show or not show title on a template?

I want to show the page title in some pages but on others I don't. I'm wondering how to do it. I thought about using differente content templates one with title and one without. But I'm wondering if ...
0
votes
0answers
39 views

Set padding for all content except images and few more elements

I want to have left and right 10px padding for all content inside post/page, but not for images, videos, galleries, tweets, pre, hr and few more. So that elements must be full width. So I set: ...
0
votes
0answers
23 views

How to Pull Out Twitter Summary Data in other areas of my template?

I am curious on how www.gigaom.com is able to callout the summary data of their articles. In addition I am trying to figure out how the summary autoposts when you select the tweet this button and the ...
0
votes
1answer
59 views

Best Way to Add UnEditable HTML to Posts

I find myself more and more needing to use tables or divs inside my wordpress posts content. The problem I find with this is that one wrong backspace or newline, copy / paste has the possibility to ...
0
votes
1answer
46 views

Carrying information from button click into form

I had a question for a project I am finishing for a client. He would like it so that every time a user clicks on "Sign Up Today" for the given workshop (http://yft.ac/upcoming-workshops/), the name of ...
0
votes
1answer
48 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
2answers
40 views

Contents are missing but shown when switching to another theme in wordpress

I was surprised this morning to hear that the contents on my WP site are erased, said my client. I tried disable all plugins one by one, but the problem still exists. I also changed the memory limit ...
0
votes
0answers
81 views

Get part of a page url

I've been searching for this, but I can't find the answer. What I want to do: Every post will have a link to a page and that page needs to get the content of the post (the current post from where ...