Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [content]

The tag has no usage guidance.

4
votes
1answer
2k 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 ...
3
votes
1answer
1k views

how load content as pop-up using ajax

There's a way to use ajax to load the content from single.php or a custom .php like ajax-single.php like this page does it: https://yellowimages.com/all/objects/apparel-mockups/ also like them show ...
1
vote
1answer
41 views

Show only one page link in content pagination

Im currently using the wp_link_pages tag to show the pagination links for content that is split inside the Post. Is there a way to show only the next page link and not all page number links or not ...
1
vote
1answer
43 views

How to create new post content templates for my users?

I admin a wordpress site for my kids primary school. At the number of editors/contributors is small, but we'd like to expand it. To simplify the uptake for some of the office staff I'd like to have ...
1
vote
1answer
170 views

Front end inline editing?

I was wondering if it is possible to allow my users to create posts from the front end in an inline editor, similar to content creation on Medium.com? I know there are many options out there for ...
1
vote
1answer
49 views

Wordpress Multisite new sites in directory

Is it possible to make a wordpress multisite on domain.com and then every site that I make goes to domain.com/directory/newsite? and then I have another question: is it also possible to that every ...
1
vote
1answer
521 views

How to make my category archive behave like a page

I don't want to use the category page as usual (list of posts). I would like to add more content: text, images, columns. Which is the best solution? Maybe redirect from a category page to a page? Or ...
1
vote
1answer
306 views

Saving Custom Field Data before Publish

When creating a page or a post WordPress lets the content (title, body, featured image) be saved when using Ctrl + S. The Custom Fields do not save in the same way (in this case I'm using Advanced ...
2
votes
0answers
587 views

wp_insert_post iframe missing

In my install, I use one custom page. Here I put one text field and the fck editor. This is for the title and the content. I need to insert this into a page. I use the following code $my_post = ...
1
vote
0answers
14 views

Missing content in Pages only

I have an odd one. One site is missing all content on it's page (but not posts.) If I add a filter on 'the_content', $content is empty. I've tried giving the filter priority of 1, 0 and even ...
1
vote
0answers
37 views

Doctype printed on the page content

Strange problem on the site. WordPress template is GoodLife - Responsive Magazine & Newspaper Theme Even after disabling all plugins and changing WordPress template nothing changed It appears ...
1
vote
0answers
16 views

Images are searched in the wrong path

I am working on a Wordpress 4.2.2 website which has a LayerSlider implemented in the front page. The slider used to work but some modification was done and now the images are not found. The images are ...
1
vote
0answers
14 views

Main Wordpress site with several flexible clones

I need to develop an english/spanish site. I found the Polylang plugin, which seems to do the job. But I also need to have several spanish mirrors with similar, yet unique content and this is where I ...
1
vote
0answers
252 views

How to get the sidebar HTML content?

I'm trying to get the sidebar HTML output to filter the <img> tags and change its src attributes, but I couldn't so far. I tried with this code inside of dynamic_sidebar filter hook, but didn't ...
1
vote
0answers
14 views

Having wordpress page accesss issue under sub-directory

I have hosted website at sub-directory but pages content is not showing and only header and footer display at pages. My index file have this code for pages display. It was working fine at root ...
1
vote
0answers
22 views

How to implement comments on specific fields in wordpress?

I have a custom content type in Wordpress, having some custom fields. I need some of this fields to be opened to comments, that is Content Flower --> Field Name --> Field Color --> Field ...
1
vote
0answers
55 views

Post Format Default Content

Is it possible to have the default content change as the user selects different post formats? What I want is for backend users of my Wordpress to select different formats, thereby changing between ...
1
vote
0answers
672 views

Export + Import = wrongly duplicated content

I have a staging site and production site for my WordPress install. A few weeks ago, we started a minor redesign so we copied the production database down to staging to sync it up and then we got to ...
1
vote
0answers
123 views

Placed on + only date (not time)

When I create a comment or, ... you can set Placed on. For example: 20 june, 2014 on 14:23 . But I don't want the time (14:23). Only 20 june, 2014. Is this possible, and if so, how can I do this? ...
1
vote
0answers
156 views

How can you use one database with multisite

I have two separate wordpress installations and two different domains. I am using one database with table prefixes. It works great but when I enter my content on one site it isn't reflected on the ...
1
vote
0answers
67 views

Retrieve image from content, assign it as a featured, and then remove it from the content

I am trying to grab the first image from the content and use as featured image, then remove the that image from the content. I found the plugin get the image, but it doesn't save image on the post, ...
1
vote
0answers
46 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 ...
0
votes
0answers
27 views

Content export, reinstall and content import

I run a WordPress site and I need to change the theme to a new, faster one. However, when I install the new theme and Import demo content, the site doesn't present well at all. I'm thinking of a way ...
0
votes
0answers
27 views

Front page is not updating content

I have emergency problem. My home page has static page set for front page and post page is blog. I am using the WPBakery Page Builder plugin to design and create content. But somehow I'm unable to ...
0
votes
0answers
15 views

How is it possible to create Multi part sections where people can answer or comment or vote on various parts of a page's content as given example?

How is it possible to create Multi part sections where people can answer or comment on various parts of a page's content as given example? Using this as a reference example (can attach screenshot if ...
0
votes
0answers
25 views

Pass form inputs to page content

is it possible to pass form input to page content? In a WordPress Multisite I’d like, when a user register and create his own website, to make him compile a form with the text and the photos that will ...
0
votes
0answers
15 views

Export select content to rss feed format

I have a friend who wants to use some of my content in his email newsletter. He wants the content in a RSS feed. I would like some suggestions on how I can do this: he has picked three different ...
0
votes
0answers
10 views

How do I get a reference to the HTML memory buffer while the page is being constructed?

I want to view & update the buffer with html "<head>" data section in it, after the head has been generated. Problem statement: I have created some shortcodes in a plug-in which, if ...
0
votes
0answers
24 views

How to parse any content which was added after the working out filter 'the_content'

How to parse any content which was added after the working out filter 'the_content'? For example I have html structure of the simple page that i was created via Worpdress Admin Dashboard -> Pages -> ...
0
votes
0answers
28 views

How to get Post sidebar & footer including html like get_the_content() which only gets content section?

I want to get sidebar & footer including html of current post. Then I want to check a "string" inside sidebar & footer. If "string" exits, I want to enqueue a custom script. If anyone knows ...
0
votes
0answers
24 views

How do WordPress themes work in relation to content?

Premise: I have experience with WordPress only from an admin's perspective point, not custom themes, so forgive the that the question is very general. I am well aware that WordPress stores content in ...
0
votes
0answers
21 views

Custom changes performed on WP + WooCom site on maintenance subdomain. How to perform a migration to a main domain?

I was working on a WP + WooCommerce website (shop + blog), very active site - lot of orders, users and posts. I was working with some plugins (settings), installing new plugins, removing old ones and ...
0
votes
0answers
21 views

Need help with invisible content block

I am new to WordPress, I have created a page for latest news, using a content block 'content | blog', the content is there as it is still clickable, however, it is not showing up, it isn't visible to ...
0
votes
0answers
36 views

How to add a link to media file for every image inserted in content?

Usually when we want to add an image to a post with a link we need to select "Link to: Media file". This is by default selected as none but the following filter would change default selection to "...
0
votes
0answers
31 views

WP pages content is missing in frontend

I created a page which is listed in the top navbar but if i click on the link it loads a new page without the content of the page itself. That is the page shown after clicking on the admin link in the ...
0
votes
0answers
31 views

Excerpt being limited too early

I grabbed the code from here I have this in my post right now: "Test sentence for excerpt purposes. Link: https://www.ankitdesigns.com/demo/bysc/competitive/ontario-player-development-league/" ...
0
votes
0answers
39 views

Cannot pull WYSIWYG content

I am having trouble trying to pull then content from the page's WYSIWYG editor. The template index.php file is set up like nothing I have seen before and I am simply trying to sort this out. I have ...
0
votes
0answers
143 views

preg_replace style attr in $content and Editing post_content before saving

I`am trying to clean style attr from tags when saving posts and products but nothing happend. (I checked my regexp on https://regex101.com/) function filter_style_save($content) { $re = '/(<[^>]...
0
votes
0answers
45 views

Need help for showing same front content page, search page and portfolio post page

I want same front page content for post front page, search page and jetpack-portfolio page. Currently search page not displaying post thumbnail and jetpack-portfolio page not displaying entry-meta. ...
0
votes
0answers
2k views

How to hook into search results template or query?

I am looking for a way to hook into the search results from a regular WordPress site search and make changes either to the display of the results themselves (by hooking into search.php somehow - not ...
0
votes
0answers
505 views

How to embed PDF files inside content without media_send_to_editor?

Goodafternoon, I use the following code to add an iframe around the PDF files that are added to a post in WordPress. The only problem with this feature is that the iframe will be also visible in the ...
0
votes
0answers
63 views

Content instead Excerpt on term

Is it possible to show limitation (dynamically) of the contents near the search term value. I knew how how to using excerpt, but what I am talking about is, search result content limitation character ...
0
votes
0answers
134 views

sharing wp-include - wp-admin on same installation

This is not a security or privacy issue.. I have multiple wp installations (usually a couple for project), so in the next installation I'll be setting up I'm thinking of cutting down some space ...
0
votes
0answers
79 views

Show WP content on different PHP Sites

we are about to start developing a big dynamic web project (Probably on ZF2) which will have some modules&tabs to act as CMS module (displaying news, galleries, posts etc). Let's assume we have ...
0
votes
0answers
84 views

Visual Editor not working for user on multiple computers

We are running 3.9.1, and haven't updated any plugins or our theme since the user started seeing an issue with a particular page. If the user opened up the page, nothing showed in the visual editor, ...
0
votes
0answers
35 views

Choose to show or not show title on a template?

I want to show the page title in some pages but on others I don't. I'm wondering how to do it. I thought about using differente content templates one with title and one without. But I'm wondering if ...
0
votes
0answers
70 views

Set padding for all content except images and few more elements

I want to have left and right 10px padding for all content inside post/page, but not for images, videos, galleries, tweets, pre, hr and few more. So that elements must be full width. So I set: ....
0
votes
0answers
32 views

How to Pull Out Twitter Summary Data in other areas of my template?

I am curious on how www.gigaom.com is able to callout the summary data of their articles. In addition I am trying to figure out how the summary autoposts when you select the tweet this button and the ...
0
votes
0answers
293 views

Get part of a page url

I've been searching for this, but I can't find the answer. What I want to do: Every post will have a link to a page and that page needs to get the content of the post (the current post from where ...
0
votes
0answers
32 views

The concept of non-blog content

I'm fairly new to this wordpress stuff and wrapped my head around the blogging part. Now it comes to the non-blog part of a webpage. I understood the principle of creating static pages and displaying ...