The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
448 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
70 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
112 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
43 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
280 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
55 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
77 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
99 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
162 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
31 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
354 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
42 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
25 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
64 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
57 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
42 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
93 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 ...
0
votes
2answers
1k views

remove <p> tags from the_content

I've got a post format of Image, and I am running into an issue where the image is being wrapped by a <p> tag. I want to get rid of that tag (specifically on the single.php version) of those ...
0
votes
2answers
58 views

How to add page content into another page

I'll try to explain myself and what I'm trying to gain. I run a DJ business and am trying to get into the Wedding market. One way is to make sure the slug of each page has "wedding-(venue name).html ...
2
votes
1answer
1k views

Database sync between local and production

I was watching Mark Jaquith's presentation at WCSF 2013 recently and in the Q&A Mark mentioned something about rsync - after a quick Google I can see this is done via SSH - my question is this: is ...
4
votes
2answers
107 views

Presentation vs Content in WP DB-Tables

Presentation vs Content in WP DB-Tables Is there a clean separation between the WP tables involved with presentation vs content? I would like to take my time working up presentation changes, such ...
1
vote
2answers
160 views

Unautop / Sanitize content added to a post through a plugin

I am using the SimpleReach plugin that adds some content to every post using the content hook. The content that is being added is <!-- SimpleReach Slide Plugin Version: {{srslide_plugin_version}} ...
1
vote
1answer
106 views

Saving Custom Field Data before Publish

When creating a page or a post WordPress lets the content (title, body, featured image) be saved when using Ctrl + S. The Custom Fields do not save in the same way (in this case I'm using Advanced ...
0
votes
2answers
166 views

Insert Message before content of after title

How can I insert custom message after post title. For example The Post Title My custom message
1
vote
1answer
63 views

Next and/or previous post content

How can I show the content in next or previous post? For example, I use this to display the next post link with title: <div class="alignleftfp"> <?php next_post_link('%link', ...
0
votes
1answer
2k views

the_excerpt() in content.php and get_template_part() in single.php

everybody. So I'm creating a blog theme and have put the_excerpt() in content.php My index.php displays different post excerpts for the different kind of posts-formats. I have content-gallery.php, ...
0
votes
1answer
56 views

Update references to pictures on website after moving to new URL

I moved my wordpress website to a new URL on the same server and managed to update most DB entries with the Velvet Blues Update URLs plugin. But the paths to my pictures, which are being used by the ...
3
votes
1answer
560 views

Neither the_excerpt() nor the_content() works properly?

I'm wondering what should be used in index.php (post listing page): the_excerpt() or the_content()? Twenty Thirteen uses the_content() but this prints entire content unless <!--more--> exists ...
0
votes
1answer
25 views

Hide parts of the post content after typing it's name or searching it by category

Code "nohome" worked for displaying wanted (hided'n'waiting) content on home page (just postname and image) How it could be adjusted or modified to make the same after name of post has been typed ...
2
votes
2answers
2k views

Get the content of a specific page (by ID)

I have the following front-page template made: In place of those large Lorem Ipsum blocks, I need to show an "excerpt" from a specific page to fill that box (a certain # of characters). So my ...
1
vote
1answer
107 views

Hide content editor for posts after approriate date

I am tuning my new site and i what to disable Content Editor for post created after date X, but for posts that created before that date Content Editor must be on its place.
0
votes
0answers
28 views

The concept of non-blog content

I'm fairly new to this wordpress stuff and wrapped my head around the blogging part. Now it comes to the non-blog part of a webpage. I understood the principle of creating static pages and displaying ...
0
votes
2answers
404 views

Two different pages that share the same content?

I have a self-hosted WordPress site. I need to display the same content on two different pages (a contact page and another page used for promotion purposes). They will need to have minor tweaks such ...
-1
votes
1answer
45 views

What does Wordpress mean by they have full rights to content [closed]

I am pondering publishing my blog. I'm leaning more towards WordPress however, I don't want to worry about WordPress doing whatever they want whenever they want withmy blog because I have signed up ...
0
votes
0answers
49 views

Retrieve image from content, assign it as a featured, and then remove it from the content

I am trying to grab the first image from the content and use as featured image, then remove the that image from the content. I found the plugin get the image, but it doesn't save image on the post, ...
1
vote
2answers
340 views

Make WordPress size and name images for Retina.js

I'm a huge fan of the way retina.js works for high pixel density displays. Essentially, when it's loading image assets (via <img> or css image) it will check if there's a @2x suffix version of ...
0
votes
1answer
279 views

Get content or excerpt of top rated votes @GD-Star Rating?

I am using the GD-star Rating plugin and I have a function which outputs the top rated posts. The problem: it won't show the content or the excerpt of those posts. How can I do this? This is the ...
0
votes
1answer
90 views

Problem with content - not loading

So, this is my problem... Everything in my wordpress website is up and running, except when I get into a post and the content simply doesn't load. Everything else does, except for the post content. ...
-1
votes
2answers
205 views

How to make a website like the ones in theme demos? [closed]

I don't understand, in Joomla there was a quickstart package that came with templates to show the template's power with data. So our site would be like the one we see in the demos. I have found some ...
0
votes
1answer
40 views

Retrieve page content and pass to PHP?

I'm new to WP but not PHP. I've a custom page that I have a PHP call to do some processing on the page content. the_content() even when enclosed in a function call <?php ...
0
votes
1answer
36 views

same wordpress, 2 domains

I currently have 2 domain names. www.xclo.co.uk is my site hosted by wordpress (found here www.xclo.co.uk/dir) and also www.xclo.mobi obviously for my mobile site. now my .mobi site is pointed to ...
0
votes
3answers
495 views

How do I find PHP file that contains content of my page?

Let's say I have created a page in admin dashboard and put some content in it. How I can find PHP file in my hosting file manager that contains that content?
0
votes
1answer
167 views

Hide parts of the post content on the home page

I have a post that contains a video (or a slider) and some text. Is it possible to hide the text on the home page, but still display the rest? How would I do that?
0
votes
1answer
77 views

How to exclude the word “class” from being matched in search?

I would like to exclude the word "class" from being matched to the search term "lass". On a site I'm helping manage, the search term "lass" is quite prominent. Unfortunately, that matches the common ...
0
votes
1answer
198 views

Empty string supplied as input when parsing content

I have this code: <?php function mb_find_my_image( $content ) { if( is_home() ) { /* if is home start */ $dom = new domDocument; $dom->loadHTML($content); ...
0
votes
2answers
69 views

How can i show only 30% of the “the_content(”More…“)”?

I'm trying to make a page that has all the posts in it and shows 30% or less of the content of the post. So I'm editing a page template and I can't figure out how to show only 30% of the content. I'm ...
0
votes
2answers
246 views

How do I make certain areas editable?

I'm new to wordpress and I'm currently converting an HTML/CSS site I made to wordpress to make it easier for my client to edit it from the admin panel. I have provided 3 screenshots and I'll refer to ...
0
votes
3answers
639 views

How to delete all posts, categories and tags from Wordpress database

I have WP website with over 40,000 posts. Now I'll like to delete all posts, categories and tags. So All content and related meta. All I want to keep is static files. Is there a easy way to do this ...