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.

0
votes
0answers
16 views

WordPress Starter Content: can't access the created posts

I'm having a big pain with starter content feature of Wordpress. At the moment I'm using the hook customize_save_after to get the posts, using the normal function I use to get posts get_posts. It's ...
0
votes
2answers
564 views

Inserting ads within content

I want to show adsense ads below the 4th and 20th paragraph of every blog post, ONLY if there is a 20th paragraph. I managed to insert an ad below the 4th ad by placing the following code in my ...
1
vote
0answers
22 views

Control Content On Non-Blog Pages

I'm new to WordPress, trying to learn it's capabilities. My Goal My goal is to make a normal website but have it's content (text and images) be adjustable by the user / client, managed content. An ...
-2
votes
1answer
26 views

How do I edit the data/content inside a wordpress theme?

Im new to word-press, I have purchased a theme, and imported it with its demo data, how do I now edit the actual content of the website, and replace the demo data? I have tried going on the 'Pages' ...
0
votes
1answer
15 views

Custom slugs for Each Tab

I have a website for musicians information. The information is divided to few different subjects, using tabs - 'General', 'Songs', 'Albums' and 'Videos. <?php if($tab_story){?> <li role="...
0
votes
0answers
21 views

RSS media:content image to Featured Image

I can see lots of plugins and solutions for embedding a featured image into an RSS feed, but what I want to do is take an image that has been embedded in a feed and make it a featured image when the ...
0
votes
1answer
10 views

Using Elementor to get dynamic content for wordpress on a predefined theme

Lets say i want to put posts on a page in an elementor page, but these posts should have a specific tag to show up here, I.E pulling posts dynamically from posts to a page according to a tag, or a ...
0
votes
2answers
596 views

Create dynamic content from one WP page to multiple other pages

I want to create dynamic content that is taken from a specific paragraph from one page and writes to a paragraph on multiple pages that feature that same content. I am new to PHP and not sure how to ...
0
votes
1answer
24 views

Avoid duplicates in foreach tag

I'm trying to add custom content at the end of the blog posts in my wordpress site depending the used tag(s). First, I look for a specific string in the tags ("ods") and after that I add more specific ...
0
votes
1answer
25 views

Problems with setting up a subdomain to serve images and scripts

I'm trying to optimize a site and the last thing I want to do is to serve static content with a subdomain that will be without cookies, and I have a problem with that. I tried a couple of things to ...
0
votes
1answer
653 views

Wp Some Pages content Not display in editor after move live server

We work on multi site which one working well on local. But i have make site on live server then some pages content not display on wysiwyg editor backend but display on front side. This issue arrived ...
0
votes
1answer
788 views

Explode Content within specific HTML element

I am trying to insert some ad code in a site after X number of elements. The base code I am using was from using tags (from: http://www.wpbeginner.com/wp-tutorials/how-to-insert-ads-within-your-post-...
0
votes
2answers
723 views

Get post content from outside the loop with plugin shortcode usability

This is great for showing just the raw content... Get post content from outside the loop But i'd also like to apply shortcodes from various plugins to my content to affect the content. What would I ...
-1
votes
1answer
32 views

SQL Query : how copy all tags of post into their post content in wordpress by sql query

I want to copy/move all tags of a post into posts content, as text form not in a link form. For example: A post has: a title in title field, some content in content field (like: a ...
2
votes
2answers
1k views

WordPress REST API - JSON “Rendered” Content Incorrect

i'm working in android application that use wordpress rest api to get blog from website to , i don't have any knowledge about php or wordpress , but i take some time to learn about it , any way my ...
0
votes
1answer
19 views

remove string: 'custom content…' from every page

I'm not quite sure how this came about, but every page on my site has the text 'custom content...' appended to the end of the body. The string appears within <p> tags on the frontend. I've ...
0
votes
0answers
13 views

Thumbnail and price not showing on related products section

Well, I'm trying to create a module with the related products I have in my shop. My template has a file in the route /theme-name/woocommerce/single-product/related.php. In this we can see some code of ...
0
votes
2answers
2k views

How to get widget content in Wordpress based on it's ID?

I need to parse widget content based on it's ID. But a widget works like a function that pulls data based on it's arguments, right? So when I pull the widget data, I can only get it's arguments, not ...
1
vote
2answers
395 views

How to change featured content to a different tag in Wordpress Twenty Fourteen?

In twenty fourteen theme, we’d like to know how to change the features content tag. Currently it’s set as featured. Now, we would like to know how to code this for different page templates. We ...
24
votes
8answers
23k views

Best way to eliminate xmlrpc.php?

What is a best way to eliminate xmlrpc.php file from WordPress when you don't need it?
2
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 ...
0
votes
1answer
1k views

All files being pulled from wp-content returning 404 error

I am on a fresh install of Wordpress on Ubuntu / LAMP, and noticed that none of my site's images are showing. I tried to install a theme (Sydney) and none of the images were showing up. I was able to ...
2
votes
2answers
34k views

Forbidden 403 error, permission to access, unable to read htaccess

Recently clean-installed (with exception of themes and content/upload folders) an old wordpress to the latest Wordpress 4.2.2. I continue to get this error below whenever I load files such as style....
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 ...
0
votes
2answers
1k views

Automatically search and replace link in content (pages/posts)?

The users of my site mainly share documents by inserting links into content (pages/posts) using the built in editor. These files include everything from pdfs to word documents. The users currently get/...
6
votes
4answers
47k views

Get content from one page and show it on another page

So, I've been googling and reading and testing and failing. I'm fairly new to php, so don't expect to much :) I'm working on a new design, and I want to show content from the about page on my ...
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 ...
1
vote
1answer
3k 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 ...
0
votes
0answers
30 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
1answer
43 views

Display Full Content Instead of Excerpt

I want to display the full page content rather than the excerpt in my child theme. If I make the changes to the parent, they appear on the site. If changes are made to same exact file in child, they ...
0
votes
1answer
44 views

Trying to modify content.php

I am trying to tweak the bootstrap basic theme so that it shows excerpts. It does it when using search but not by default. I am trying to figure out what I need to change on the content.php file. ...
0
votes
1answer
35k views

If user is logged-in display/hide something

I want to check at page load if the user is logged in or not and hide the login mask I programmed accordingly. There is a reason I'm using said login mask instead of redirecting to the WordPress ...
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
1answer
20 views

How to remove massive link in WordPress content

I would like to delete certain link that I have in the content of all the entries, for example : <a href="https://www.sitio.com">link contenido</a> Change it to: link contenido Or ...
1
vote
2answers
586 views

Remove Content Filter

I need help with removing the Content Filter from a Plugin: add_filter( 'the_content', array( &$this, 'addContentAds' ), 8 ); Do someone could help me please? Thank you and best regards
1
vote
1answer
556 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 ...
0
votes
0answers
16 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
12 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
31 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 -> ...
3
votes
3answers
7k 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= 1;...
24
votes
8answers
48k views

Stop WordPress automatically adding <br> tags to post content

Is there a way to stop WordPress from automatically inserting <br> tags when adding returns in the WordPress text editor. I would like for it to behave more like a code editor where I can ...
0
votes
1answer
7 views

mixed content missing from wordpress media

Hello Can someone point me to right direction about how to fix this issue please? I tried it with really simple ssl, didn't work. Image is no longer in wordpress media and it has been deleted. (...
0
votes
1answer
21 views

Please tell how to stop the category from showing up on posts

Please tell me how to remove the category hence, it does not show up on posts. my content.php file is given below...which contains the code for showing up meta. but I am not able to figure out the ...
0
votes
0answers
29 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 ...
1
vote
2answers
4k views

How to load all pages into one page with their templates

I am learning how to work with Wordpress, and im trying to build my own website in it. Since my website is a onepages, i would like to be able to load all my pages ( they then count as sections ) to ...
0
votes
3answers
355 views

How to just show first line of content

is it possible to show only the first line of content <?php the_content(); ?> or alternative only content between <b>text</b>?
6
votes
11answers
27k 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
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
2answers
22 views

Open content directory help!

I just found out tha I have a wp-content directory that is open where you can see all of my files that I have on mysite- pdf's, jpgs, etc. Files that are meant to be for members only as well....all ...