The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
166 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
68 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
155 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
2answers
516 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 ...
0
votes
1answer
357 views

Automatically search and replace link in content (pages/posts)?

The users of my site mainly share documents by inserting links into content (pages/posts) using the built in editor. These files include everything from pdfs to word documents. The users currently ...
0
votes
2answers
23 views

My UPDATED content ONLY shows when I am signed in.

Good Day, as mentioned in my title, my webpage Lasnersport.com only shows it's updated content when i am signed in. When not signed in it shows context from months ago as its current.
0
votes
1answer
132 views

Built-in Method to Extract Embedded Video from Content

Is there way to extract embedded video without using a regular expression as seen here? I was hoping that there would be a way to get them using a WordPress function.
0
votes
2answers
148 views

Replace full content with an excerpt

My theme shows full posts on the main page and I want it to show only the summary, I tried searching for the_content tag in my theme's index.php file but it is not even there! I don't have a home.php ...
0
votes
1answer
826 views

How to use wp_editor(); in functions.php then retrieve content in the template

I want to use wp_editor(); (custom editor) I've tried several methods but I am lost and I can't get it to save the post and retrieve the content in template How to edit posts with the new wp_editor ...
0
votes
1answer
393 views

Loading a post's content, into a div outside the loop, when it's title is selected in a list

I am building a site in wordpress where at a certain part there is a container that has a list of post items (see it as a menu/sidebar), and an empty space where I will load content. When you click on ...
0
votes
1answer
251 views

Bulk move (or copy) from a custom field to the post content?

I need to move (or copy) the contents of a custom field into the main post body, replacing any existing content. I need to do this for a few hundred posts...Is there a quick way of doing this? I can ...
0
votes
1answer
85 views

Paragraphs removed when using get_post_custom()?

I'm using a custom field plugin called Advanced Custom Fields to create custom fields, but i don't think that's what's causing the problem. When i fetch the custom fields from a template using ...
0
votes
1answer
43 views

Content in footer file

I swear I've done this before, but I am drawing a blank on it now... I'm trying to get it so that I can have editable content in my footer.php file. So that I (or the user) can update the content ...
0
votes
1answer
165 views

is ther a plugin that will hide/show content for a scheduled period of time?

We would like to post some html during a specific time on a given day of the week. For instance: Imagine a website for a TV station that wants to show what is on the air right now. I am looking for a ...
0
votes
1answer
76 views

How can I add more code to this?

<?php $my_query = new WP_Query( "cat=11&posts_per_page=1" ); if ( $my_query->have_posts() ) { while ( $my_query->have_posts() ) { $my_query->the_post(); ...
0
votes
2answers
1k views

How can I define the RSS feed content length?

I’m trying to shorten the content of my RSS feed. Right now it displays way, way too much for each entry and I’ve tried to select the “Excerpt” in the Syndications setting in my option panel but it ...
0
votes
1answer
43 views

Add a filter to a different custom plugin

Someone has built a custom plugin that adds a textarea on the admin/edit page, and a div on the pub page. I no longer have access to the person who built the custom plugin. I have created a filter ...
0
votes
1answer
106 views

Wordpress br in content problem

I have this irritating problem with a post in Wordpress (see the url below). http://www.bytewire.co.uk/services/website-design-essex/ You'll notice the second lower case bold heading (Why Bytewire ...
0
votes
2answers
134 views

Is there a standard public URL convention used on a Wordpress site directly to a page listing all of a user's public content?

Is there a standard convention for a full direct public URL address that, when visited/clicked on, will show a page list all of user account's public content uploaded on that site. Background: I ...
0
votes
1answer
243 views

Best way to modify content from index.php to single.php?

My blog has simple posts including a youtube videos. For example: <iframe width="460" height="342" src="http://www.youtube.com/embed/PkxteedBq9g?rel=0" frameborder="0" ...
0
votes
1answer
1k views

jquery: getting contents of #content field on post page

I managed to get the #content field html with this jquery call: jQuery("#content").html() This seems to be failing though on "Add New Post" pages. Any tips on how to get the contents of the ...
0
votes
1answer
71 views

What is the correct method for updating post content from a plugin?

I would like to create a plugin which updates the post's content in the Admin panel. For example, on the Edit post page, the user sees his draft content. If he clicks on a button from a meta box ...
0
votes
1answer
34 views

Display a paragraph in the index page that won't be displayed in the single post

Can i make it possible for an excerpt to be displayed in the index page but that part of the excerpt will not be displayed in the single post anymore?
0
votes
1answer
196 views

Single dash converted to double dash

As the title says, if a single dash is used with a space between each side eg. 'Die Hard - Action Film' is written in to a WordPress post, once published it comes out as 'Die Hard -- Action Film'. If ...
0
votes
1answer
2k views

Import and replace existing page/post content

Is there any way to import a basic, exported Wordpress content XML file and have it replace the existing content? What I'm trying to do is synch up two instances of a site (development and staging ...
0
votes
1answer
810 views

Function to get content by ID

I'm trying to get text only content of posts by ID. I modified this function as follows, but at the moment it returns nothing. I cannot see what's wrong with it. function get_the_excerpt_id($post_id) ...
0
votes
1answer
41 views

Is it possible to set the upload location to a different server?

Our university has given our student society a 1GB portion of storage to be used for our website. We're low on their bandwidth priority however so it did not work speedily with Wordpress. I managed ...
-1
votes
2answers
994 views

How to use str_replace() outside the loop?

Is there any way to use str_replace() in Wordpress outside the loop? I want to change my html markup which starts before the loop. I need something like this: function content_magic($content) { ...
-1
votes
2answers
182 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 ...
-1
votes
2answers
231 views

Wordpress Shortcode loads at the top

I tried all solutions of the topics here but I haven't been able to find a solution. I made a Plugin for a Shortcode. My problem is that the plugin code get always loaded above the content. I already ...
-1
votes
1answer
43 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 ...
-1
votes
1answer
81 views

Scroll over to get definition

I need to have content appear when I scroll over certain words or groups of words. Eg. If I scroll over the word pastor. I should see a definition of Pastor appear next to the word.I would like to ...
-1
votes
1answer
271 views

Integrating custom API for post content into Admin interface & Public Website [closed]

EDITED question to be more specific and added bounty in hopes someone has a solid coded solution: So, here is an interesting task I have been trying to find a solution for. I have added a bounty ...
-1
votes
0answers
12 views

How to show my plugin on my blog page? [on hold]

Im using this plugin that shows social icons under every post in my blog. My blog page shows the content of the post not the excerpt. How do I make the plugin to show in my blogpage under every post? ...
-1
votes
0answers
33 views

Thumbnail and Post title in twenty twelve [duplicate]

We create on blog based on twenty twelve theme. My content.php have the following code. <?php /** * Template based on Twenty_Twelve */ ?> <article id="post-<?php the_ID(); ?>" ...
-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 ...
-1
votes
1answer
134 views

Iframe only visible after log in

I have a website on WordPress and I am trying to add a Iframe on its website. I have done similar sort of thing on two other websites previously without any issue.. Here is the website in question: ...
-1
votes
1answer
130 views

Distribute post content through several divs [closed]

I would like to distribute the content in a post through several divs. Much like a word processor distributes content through pages. Any ideas?
-1
votes
1answer
36 views

Shortcode returning specific content of a post

I'm currently building a plugin to display specific part of post after accepting verification code. Can a shortcode return a part of a post? I mean: Bla bla bla [shortcode postID="100"] Special bla ...
-2
votes
2answers
331 views

wordpress pinboard theme [closed]

I would like to add content(just plain text) to the first page of my site and also have the posts displayed on it aswell. I am using pinboard theme. Does anyone know a good way of achieving this ...
-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, ...
-2
votes
1answer
29 views

How to build or store lots of custom content

I'm setting up a new WordPress site and going forward we are going to be building a lot of custom interactions that will need to be stored within WordPress. When I say custom interactions I'm talking ...
-3
votes
1answer
63 views

styling the contents

I am newbie to wordpress and just started to play with themes. My problem is I want to change the css of the content part and for that I want to know by default the content comes in the blog page ...