The content tag has no wiki summary.
0
votes
1answer
48 views
Iteratively add sub shortcodes to php array
I have this shortcode structure:
[component]
[type1]some content[/type1]
[type2]some more content[/type2]
...
[typeN]some other content[/typeN]
[/component]
I would like to have the ...
9
votes
2answers
187 views
How can I keep the content of my pages version controlled?
We have a WordPress-based website that provides documentation to our REST API. Since our API is constantly changing, so is the documentation. However, we would like to keep the documentation version ...
0
votes
1answer
257 views
Split content into multiple columns using more tag?
First of, this is pretty much an exact duplicate of:
Split columns into three+ divs?
But the given solution does not work (returns blank). I'm guessing it collides with qTranslate which adds some ...
0
votes
1answer
296 views
How to limit post content and remove image caption from it
I am using this function to limit the content in my themes. But the problem is whenever I call the function, it also displays the image caption. I want to remove the image caption when calling ...
1
vote
1answer
206 views
is there a way to show the the post title after the image?
Trying to show the post title after the image in the main blog page and single page, I have tried to edit the content.php but unable to achive the result I need, which is basiscally
IMAGE
TITLE
META ...
0
votes
1answer
48 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
2answers
133 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
1answer
153 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
44 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
vote
1answer
110 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 ...
1
vote
2answers
93 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
97 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 ...
0
votes
1answer
125 views
Create Fixed Content Window in Twenty Ten Theme [closed]
I am using a child theme of twenty ten. Does anyone know how to make my content area fixed. I want the header, Menu, Sidebar, and Footer to all stay at a fixed size so just the content scrolls up, ...
0
votes
0answers
14 views
How do i make multiple “segments” of the page editable from admin? [duplicate]
Possible Duplicate:
Multiple areas of dynamic content in a page
Take a look at this page:
http://livedemo00.template-help.com/wordpress_35782/
I'm trying to improve my wordpress coding so ...
2
votes
1answer
66 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
63 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 ...
-2
votes
2answers
142 views
Edit Wordpress site hosted by HostGator without original wordpress.org credentials [closed]
I was asked to take over admin duties for an organization site hosted at HostGator. I discovered it was a wordpress site with premium theme. I have never used Wordpress before, but really want to ...
0
votes
1answer
39 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
1answer
279 views
wordpress pinboard theme
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
92 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
31 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
59 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 ...
-1
votes
1answer
282 views
How can I allow people to vote up objects? [closed]
I'd like to be able to create a post and allow people to vote up the items on the post.
For instance, If I listed 10 great movies in a post, people could vote up or down the movies in that post.
...
0
votes
1answer
117 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 ...
2
votes
1answer
464 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
211 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
32 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
106 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 ...
1
vote
1answer
95 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
993 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
39 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
482 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
78 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 ...
3
votes
1answer
441 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
42 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 ...
5
votes
1answer
223 views
Content generator for development site
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
462 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
1k 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
240 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
62 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
88 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
343 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
90 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
326 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
85 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
470 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
34 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
20 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
98 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
76 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 ...