The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
5answers
2k views

Display post shortcode content in the sidebar?

I need to display images and other content in the sidebar depending on a page. Pages are added dynamically and information that need to appear in the sidebar is different for each page. So I can't ...
1
vote
1answer
342 views

remove inline scripts from the_content() produced by plugins?

hey guys, any idea how I could filter all inline javascripts from the content()? thank you
1
vote
1answer
599 views

How to make multiple page out of one post

Suppose I write a long article and display products in one post but it is too long so I want to cut it and continue the next page in the same post? Can I do that in wordpress? I want to display many ...
0
votes
1answer
866 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) ...
6
votes
5answers
578 views

What's the Best Way to Structure a Multi-Content Blog?

A Little Background I've been running a blog for 4 years that discusses just about anything I feel like writing. My car, backpacking trips, my church, marketing strategy, WordPress code, movies I ...
0
votes
1answer
295 views

definining own teaser text for post

i'd like to have a small news box in my sidebar - so i need to display just a few lines of text, separated from the actual the_content() - how could i do that? it should be somekind of quicktag which ...
0
votes
1answer
434 views

Excerpt vs content formatting woes

One of my posts has the following content: This is a test post. Nothing more, nothing less. Three lines before the jump <!--more--> And a couple of more lines after the jump. Note: these were ...
0
votes
1answer
140 views

Page displays content from different query?

How can I reset all variables in order to get the actual page content? I keep getting the last post's content I've called from a news-box I've implemented - but need the actual page's content .. ...
0
votes
1answer
197 views

Timed content and flagging content as viewed by user?

I'm trying to put together a site with membership functionality and i'm having most of what i need together. However, what's still missing in the mix are two things: 1) I need to be able to display ...
1
vote
2answers
1k views

Javascript Solution Remove Specific Tag but leave the rest in a specific DIV

I have a div structure that looks like this... <div class="gallery_lightview"> <div id="lg_image"> <a ...
18
votes
9answers
13k views

Stop Wordpress Wrapping Images In A “P” Tag

I have searched high and low for a simple solution to this, but to no avail. Wordpress keeps on wrapping my images in p tags and because of the eccentric nature of the layout for a site I am working ...
0
votes
3answers
905 views

Output custom content not from the posts table?

It would be best if I started out be explaining the situation: A while ago I created a Property/Real Estate management system using PHP and MySQL. It works great and I have a lot of customers using ...
1
vote
1answer
782 views

The entire content of my Wordpress page has disappeared

I have a blog installed on my site using Wordpress. Last week I upgraded Wordpress from 2.6 to 3.0.4 (I had to do this manually). All went well, or so I thought, but I have just noticed that the ...
-1
votes
3answers
1k 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) { ...
2
votes
3answers
724 views

Is there un-wp_autop function?

I have a problem with WP that need your help. Some of my posts have content that was applied "wp_autop" filters already. This filter turned all double break lines into <p> tag. I want to the ...
0
votes
2answers
217 views

append_content help

i have a function in my plugin append_the_content($content) this is used to display my function inside the post, but it is coming before the post, i want to make it after the post, for this i tried ...
0
votes
1answer
77 views

Duplicate content with incremental titles. How is this happening?

I was looking through the crawl results of my SEO Moz app and saw that there are somehow many copies of certain pages that have titles that are the exact same except for a number added to them. An ...
2
votes
3answers
162 views

What is a good way to present templated content in WordPress?

I'd like to be able to add a template for a page that will present pages with similar data in the same style. For example, I want to be able to create a "Person Profile" template so that all personal ...
1
vote
1answer
215 views

Conflicting post edit options under dashboard

My dashboard( It is multisite Installation ) section for pages and posts conflicts with options when there are morethan 5 data fields . For example : I have these things under my Posts section in ...
11
votes
2answers
4k views

Best practices for localizing WordPress content?

A client asked for a blog that will have localized content (i.e. en.blogname.com for English content, fr.blogname.com for French content, etc). Being new to building such a blog, we recently ...
3
votes
3answers
279 views

Recommended Books on WordPress for Management and non-Developers?

I've had a few non-technical clients have a tough time with WordPress' admin UI. One of them asked me today if there were any books that could help someone like him - someone who is only concerned ...
0
votes
2answers
165 views

Why are my WordPress store items showing up in duplicates?

I recently became an admin of a WordPress site, for the purpose of setting up a store. I have little WordPress knowledge, so I will try to be as specific as I can. I am using the WP e-commerce plug ...
3
votes
2answers
1k views

What is the best way to include a widget in a Page?

I am setting up a new WordPress blog and would like to include a widget in the content of a Page. I found some forums describing PHP hacks which appeared to apply to older versions. With WordPress ...
0
votes
1answer
426 views

Disable automatic linking

How can I disable automatic linking? For example if I write http://www.test.com I don't want it converted to a link.
0
votes
1answer
439 views

Is there a way to trigger an automatic import of a WP backup on creation of a new WP multisite site?

I have a WP backup file of sample content I use when I set up a new site on my WP multisite install (I use it for theme dev work for clients). Is there a way to trigger the import function to fire ...
4
votes
4answers
6k views

I want to have my custom field use HTML, how do I do that?

I want to have my custom field use HTML, how do I do that in such a way that I can use a rich text editor to view the content?