The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
3answers
1k views

Hide content-box on specific pages (in admin)?

Is this possible to do somehow? In some pages i use a custom box plugin and i don't need to show the content box on some of those pages. Is it possible to hide it by page template? Or ID if template ...
1
vote
2answers
304 views

Adding default post content for category

I'm trying to add some default content to my posts using this code in my functions.php: add_filter( 'default_content', 'my_editor_content' ); function my_editor_content( $content ) { $content = "My ...
-1
votes
1answer
120 views

Scroll over to get definition [closed]

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
vote
1answer
299 views

How to add text to comment form #content textarea?

I have a plugin that does validation on user submitted comments. When validation fails, I want to redirect them back to the comment form, and have their comment still appear in the comment box, so ...
2
votes
2answers
351 views

Testing for post title in 'if/else' statement returns no content

I'm testing for a certain fixed post on an about page, I guessed that the best way is to test for post title (?). Here's my code, what's going wrong? <?php if (is_page()) { ...
2
votes
2answers
186 views

Hook for URL request

I would like to make XML files downloadable, instead of allowing the browser to displaying them inline. I know I can use the Content-Disposition: attachment HTTP header (of course, better solutions ...
2
votes
1answer
93 views

How to get full content including template HTML

I'm looking to get the page content between the header and footer (as Wordpress already does) that includes the template HTML (as this is going to be an AJAX request). Is there a function that will ...
0
votes
1answer
155 views

Preview page/post revisions without overwriting current content

Is it possible to add or update a Post/Page without it overwriting the current content that it on there? I need to make some edits to a page, but I need to have someone review it before I can publish ...
0
votes
1answer
45 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 ...
-2
votes
2answers
349 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 ...
1
vote
1answer
112 views

Wordpress theme options vs custom post types

For dynamic content across a wordpress website, is it a better practice to create new post types for updating content or using theme options? I personally find theme options a little more time ...
-1
votes
1answer
38 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 ...
1
vote
1answer
121 views

Hiding posts and pages in panel

I found out this code and works ok for hide pages in admin page listing, but I need someway to do this to thousand pages: add_action( 'pre_get_posts' ,'hide_pages_87ff65f5f' ); function ...
0
votes
1answer
193 views

Using jQuery .after inside loop

I have a bit of javascript that will dynamically add a static post to a loop. The script uses the jQuery 'after' method and on a static page it works beautifully but when inside the loop I don't get ...
3
votes
1answer
2k views

What server settings are required to import WordPress XML file

I am trying to import my site using the WordPress import XML page. My XML file is 7mb so when I try to import it I receive a "500 Internal Server Error" page. I read some other posts and tried using ...
0
votes
2answers
318 views

Sliding pages + wordpress [closed]

do you have any idea how to achieve such effect with wordpress? http://www.papajastudio.pl/ http://soulwire.co.uk/ I mean the navigation. i want to have simple cms to edit website content + such ...
0
votes
1answer
33 views

Announces with different formatting dependently on a number

I am modifying the theme TwentyEleven. In index.php there is the loop which accesses content.php template: <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', ...
0
votes
1answer
221 views

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

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 ...
1
vote
1answer
129 views

How to get rid of shortcodes in post content once and for all

I changed theme/plugin now the post content still display shortcodes. There are some tips around on hiding them, but everytime I use some content functions, the shortcodes shows up again. Also, my ...
3
votes
2answers
3k views

Multiple areas of dynamic content in a page

I am new in Wordpress and what I really can't find how to do is the following: I have a new Page created from the CMS. This pages have different modules with text. Take for example this template ...
1
vote
0answers
42 views

Show image on the left and content on the right using ul li

Well im looking for a way to do this. In the index to show each post, with the "thumb" on the left and the content of the right using ul li to do so.(http://ae.tutsplus.com/ for example) So far i ...
2
votes
3answers
827 views

Pinterest Integration Using functions.php

I use a theme to build an portfolio. I´d like to add an pinterest "pin-it button" into the fuctions.php: Facebook, Google+ an Twitter were done, just the pinterest won´t work. Can´t found the the ...
0
votes
1answer
132 views

Is there a way to keep youtube videos from displaying on home page, and display only on single posts?

I have an interesting problem that requires a bit of creativity to solve. We have a website where we are creating a video narrative about our son who was born with Down syndrome. We do a daily post ...
5
votes
1answer
910 views

How to Handle Distributed Development Workflow

I'm trying to come up with a workflow for two (right now) people. One of whom will be doing theme work and another who will be writing content. We are not co-located are will not be anytime soon. The ...
0
votes
1answer
53 views

About Wordpress capabilities [closed]

I know WordPress is best for blog engine and with some plugin like Advance Custom Field, WP can become a great CMS. But it still good for publisher to push content to user. Now I have quite a ...
3
votes
1answer
360 views

Content generator for development site [closed]

Does anybody knows good plugin which can generate dummy posts/tags/categories/users and write dummy comments? I want to generate some content on my development (localhost) site.
2
votes
2answers
1k views

Have multiple local wordpress installs share a wp-content folder and database

On my local machine, I have multiple wordpress versions installed so I can test the themes and plugins I develop. I was wondering if I could somehow create a central wp-content folder and database, ...
0
votes
3answers
3k views

Host wp-content on other domain, much like a CDN

Would it be possible to host wp-content on another domain, so that all the uploads and images would go and load from there? If so, how would I go about configuring wordpress to do this, preferably ...
0
votes
1answer
700 views

Trimming a custom field to a length

I have a custom field added through the Advanced Custom Fields Plugin. I am trying to trim the content of the field down to a set number of words. I have tried to use the excerpt filter and setting ...
0
votes
1answer
78 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
1answer
103 views

Take excerpt of the content of the post and send it as the title to create new post

Explaining my goal: I would create the title by taking the first words of the post content. Ex: In the Admin interface would be the title field blank and the first 10 words of content would be sent as ...
1
vote
2answers
617 views

Better way to remove HTML syntax from all content

I have a bunch of articles imported via a very old Joomla 1.0 installation. The content of these posts have a lot of unwanted inline html. I was able to clean all with something like this (I made a ...
1
vote
2answers
101 views

Grabbing specific content

Right now I'm doing this (pseudo code) posts = content_type("special_stuff"); $i = 0; $n = 5; $while(have_posts) { if($i == $n) { // print the content } ++$i; } This is what I'm ...
0
votes
1answer
584 views

Sorting dynamic table content with jQuery

I've been trying to use numerous jQuery plugins for tabling sorting in WordPress and have had absolutely no luck. Can anyone make a suggestion for a plugin that sorts tables of dynamic content? I'm ...
0
votes
1answer
112 views

highlight specific text in the content box

This is an idea that came through my mind, and I would like to know if possible and how to approach it if so... I have my own wordpress framework that I use as based for all my projects, I manage the ...
0
votes
2answers
2k 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
45 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 ...
1
vote
1answer
23 views

What is the precendence of item types within WordPress

I recently stumbled across an issue on a site that uses the following URL structure; /%postname%/%post_id%/ An old blog entry had the URL www.mysite.com/my-blog-post/1918/ Since that entry was ...
0
votes
1answer
109 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
1answer
122 views

Filtered content appears in the excerpt

I am modifying the content using the "the_content" filter. But this filtering is seen in the excerpts also. Consider the following code, function modify_content($content = ''){ return 'HELLO ...
0
votes
2answers
142 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 ...
1
vote
1answer
119 views

Best way to save horoscope data

I'm workin on a website that's goin to have two horoscope sections: The normal zodiac - Updated weekly The chinese horoscope - Updated yearly The Normal Zodiac This section will have pages for ...
0
votes
1answer
259 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
375 views

Posts and Pages w. private visibility don't show up in existing content

when I create or edit a link in the editor (post or page) pages & posts with private visibility don't show up in the "existing content" section of the "insert/edit link" popup. All pages/posts ...
2
votes
2answers
1k views

Unable to get_the_content(); of a post in Wordpress via AJAX

I'm trying to ajaxify my Wordpress theme and I use the method described here and I'm now trying get_the_content of post via functions.php. Using jQuery, when I do alert(data) I get the 'title' echo ...
0
votes
1answer
3k views

qTranslate 2.5.28 and WordPress 3.3.1 issues [closed]

Anybody knows how to solve the issues in qTranslate 2.5.28 with WordPress 3.3.1? http://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=3045 ...
0
votes
3answers
435 views

Page and post loop same template

I try to make template that has Page content in the main div but in the same page there is category base post loop whit title, day, content and read more link. What i had now is like this <?php ...
-1
votes
1answer
151 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
vote
1answer
1k views

Get the content inside shortcode and apply external function to it?

function t_shortcode($atts, $content = null){ $lang = strtolower($atts['lang']); $content = "<div id='translator' class='translate_".$lang."'>".$content."</div>"; if($lang == ...
3
votes
3answers
902 views

Get entire page content (generated HTML in browser)

I'm looking for a filter that provides the full page generated in WordPress - including the head section with meta tags, body, styling and dynamic content. the_content() and the_excerpt() do work only ...