The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
51 views

Recommended sidebar / content widths

I'm developing my own theme. Does WordPress recommend or require a minimum or maximum when it comes to the width of the content or sidebar elements of an post, page or archive page? If not, are there ...
0
votes
1answer
875 views

Show content after the first and second paragraph

The function below is used to show certain content after the first paragraph. I would like to show 'content X' after the 1st paragraph and 'content Y' after 2nd paragraph. <?php $paragraphAfter= ...
0
votes
1answer
221 views

The_excerpt() doesn't parse <!--more--> - how to change that?

I'm using the_excerpt(); in blog.php file (post listing page) and it doesn't recognize <!--more--> if "Excerpt" field is empty and it grabs the beginning of the content as excerpt. This issue ...
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 ...
0
votes
3answers
379 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 ...
0
votes
1answer
175 views

Tags break custom Excerpt function

Quick question here. I have a function that echoes out the post-type's content (if none available, the excerpt). It looks like this: function era_excerpt($post, $length = 11, $ext = ' ..') { ...
0
votes
1answer
456 views

Is it possible to display a DIV to not logged in users and then change it for users who are logged in?

Basically I'm putting together a magazine site that wants a strong focal point on the homepage for users who haven't signed up, if the user is logged in we need this content to show something else, is ...
0
votes
2answers
73 views

HTML tables in content areas

Is there a plugin that would allow me to create and edit tables within the content block in posts and pages? I suppose a bit like the 'insert table' command in MS Word.
0
votes
1answer
115 views

Add Content to Content()

The Question::: This is a strange question but I need to add content to content() in page.php. How do I do this? The Why::: You see there's a plugin that uses the [plugin id="1337"] and I am linking ...
0
votes
2answers
541 views

the_content() returning null in one category only, even though there is content

A friend's heavily customized blog has a category with a specific categoryname-single.php file to display posts. Apparently for no special reason, since yesterday, the_content() is not returning any ...
0
votes
1answer
584 views

tabbed content box with different tabbed background images

I am currently looking for a way to replicate the image I have below. I have come across many tabbed content plugin's and snippets of code, but I cannot figure out how to add different background ...
0
votes
1answer
420 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
190 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 ...
0
votes
2answers
213 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
2answers
163 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 ...
0
votes
1answer
428 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 ...
0
votes
1answer
37 views

Divide post content in three columns

Is it possible to split the_content() into three equal size columns? I have tried to achive that by getting this code which I found here <?php $content = get_the_content(); ...
0
votes
1answer
24 views

Using a custom field value as current users name

I'd like to use conditional logic to show a part of the single post page to a specific user. However the problem is Im pulling that username in from a custom field. Below is what I have so far. ...
0
votes
1answer
30 views

Website showing random code like texts in a post after pasting from MS Word

My website is showing this type of content in a blog. When I click the title of same content, the content is fine there. It shows this type of content in one of the many listed contents. What can be ...
0
votes
1answer
18 views

content summary of a post disappears If an images added at the beginning of the post. how to solve it?

If I put an image at the beginning of the post my content just disappears at the home page. but when I click read more button it shows full content (single.php) index.php <?php if ...
0
votes
1answer
27 views

add after content don't work

I am using this code to put some functions after content, but this one don't work. It appear before the content and not after. function add_wb_posts_pagination ($content) { $content .= ...
0
votes
1answer
42 views

How to use full length of the upper part of the content and below of it is a content with a sidebar?

Can anyone help me with my problem although its simple but I'm just newbie in wordpress? Right now I'm using the default template of the theme with sidebar. So what I want to happen is above the ...
0
votes
1answer
99 views

Wordpress Twenty Eleven PhP - forcing php code to skip first post on homepage?

I have set up my Wordpress to add the wordpress Featured Image thumbnails to all posts on the homepage. How do I make the code skip adding [wordpress Featured Image thumbnails][3] to the first ...
0
votes
1answer
308 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
79 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
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
379 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
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
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
61 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 ...
0
votes
2answers
174 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
0
votes
2answers
415 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 ...
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
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
97 views

How can I call a specific file (via php) by referencing the logged-in username?

I want to setup a page that will display different content for each registered user of my site who falls within a specially-created user role ('map_user'). So, for example, if a site user who is in ...
0
votes
1answer
817 views

Filter/Remove HTML Elements on all posts and pages

I'm working on a migration from Drupal to WP. The database conversion and import went smoothly, but there is a lot of 'crap' in each post content such as divs with inline styles. Basically, in each ...
0
votes
1answer
230 views

Simple Math Quiz or Captcha to hide whois query form

I have a whois form in my site that enables users to query for domain name availability and if available gives them the option to request for registering it. The whois form is inserted via shortcodes. ...
0
votes
1answer
1k views

Display content of page template (get_page)

My problem is that I displayed content of 3 pages on index.php by using get_page(). The problem is that each of those pages have own page template /* Template Name: another page template */ which ...
0
votes
1answer
72 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 ...
0
votes
1answer
708 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
1k 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 ...
0
votes
1answer
126 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
177 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 ...
0
votes
2answers
312 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
127 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 ...
0
votes
1answer
575 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
529 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
109 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
1answer
110 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 ...