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
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
1answer
24 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
42 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
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
19 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 ...
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
1answer
6 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
20 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
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
3answers
220 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>?
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 ...
0
votes
1answer
25 views

Replace Text with hyperlinks

I would like to replace few words in the content of the posts. For example. Original: Here is my test string. Which Need to Replace First Test word in the string. Excepted String: Here is my <...
0
votes
1answer
114 views

Split the_content into two parts

I want to split the content of a post into two parts. The First part is in an <strong>-tag, it is like a excerpt and in the second part i want to display the rest of the content. But I don‘t ...
0
votes
1answer
22 views

Copying content from my other websites

I am currently working in a website for my company to clean up and create new modules. In this company website we share news/alerts or updates on our industry or regarding to our company, we can ...
0
votes
1answer
141 views

Page content not visible in backend

I was asked to take a look at a WordPress website. The front page had a lot of content on it, that I wanted to edit, but when I opened up the page editor, there was nothing at all in the content field....
0
votes
1answer
23 views

If I use a static page-slug.php for a page, is the database still queried?

I wonder how to display a static page in order to increase the page load a little bit: The first option is to put the content in the database (via the Admin GUI), the second option is to create a page-...
0
votes
1answer
32 views

Delete/Replace words from X to Y in post content

I am looking for a way to search and replace some words in my database. I have many posts on one of my blog and i want to replace words using regexes. before publishing, I marked every place I wish ...
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 ...
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 ...
0
votes
1answer
27 views

content disappearing minutes after it's published

I'm with a very serious problem. Some information disappears after being published. Not exactly at the moment, but it shows up for a few minutes and then disappears. This does not happen with ...
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
1answer
109 views

Site content not showing

The guy I made a webpage somewhile ago, reported, that the site content was missing. Checking it, I discovered, that there is no entry content displayed, not on any page, but the footers, headers, the ...
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
1answer
80 views

Dynamic Content w/ geolocation in WP?

I'm really just looking for ideas and guidance while foraging for memory processing in the WordPress CMS Divi Structure. My company is in need of a good ContentPlaceholder solution. True to the MVC ...
0
votes
1answer
65 views

Creating a custom page & output on a Plugin

I've googled myself to death with this problem for hours now, so I'm trying to get some help by creating my own question hoping you can help me :) I have written a Plugin which needs to output its ...
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
1answer
10 views

Is it possible to remove the content editor (RTF field) for a certain user / role?

As per the title really, I'm wondering if there's a way to hide the main content editor for posts and pages from certain users / roles but let everyone else see it? I believe you can hide it ...
-1
votes
2answers
42 views

Encode code snippet in AJAX endpoint

I've been looking for ways to do this, and this is what I have so far. As you can see, I've tried many things and I looked around, all the answers for this sort of question are for how to enable ...
0
votes
1answer
63 views

add share buttons above my posts without plugins

I'm trying to install share buttons above the articles of my site and I found this piece of code. Starting with, my problem is that the code is displayed at the end of the articles. I would rather ...
0
votes
1answer
19 views

Where to store reusable content that is not a page

I want to store content like an address block or opening times, that will be displayed at different locations across the site. The website owner should be able to edit this content. What's the best ...
2
votes
1answer
871 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
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/" ...
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 ...
0
votes
1answer
27 views

built-in responsive images in content - do I need to add anything to functions.php?

I am making a WP theme from scratch and I don't seem to get the responsive images working. An image that's inserted at 500px will stay at 500px even though srcset and sizes tags are added. From my ...
1
vote
1answer
134 views

Automatically wrap multiple images in div

There are a few questions that are similar to this but I have not found anything that works with the latest version of WordPress. I am trying to wrap adjacent images into the one div. <p> <...
0
votes
2answers
199 views

wp_ajax unauthenticated and authenticated

I have build a function to fetch a post in Wordpress served over ajax. $.ajax({ url: '/wp-admin/admin-ajax.php', type: 'POST', cache: false, data: { action: '...
0
votes
1answer
20 views

How might I change the destination of a link?

I am new to WordPress. I have a 'News' content (Pages > Venue) and want to change the link's destination. I have tried replacing the URL via JS, but it reads the script's innerHTML as regular text. ...
0
votes
1answer
3k views

dynamically change content of div with php

I would like to know how can I dynamically change content of a div when I click on a button, using PHP. With the code below, I can print out the posts of that category (videos) with a custom HTML, ...
-3
votes
1answer
4k views

Content Security Policy: 'unsafe-inline' & 'unsafe-eval' remove/substitute [closed]

I just set up CSP on my WordPress website but I get many errors when I remove unsafe-inline and unsafe-eval. The problem is coming from log-in apps: Twitter first(big issue), Facebook and Google but ...
-1
votes
1answer
54 views

Country Ways Content Show

I want a system to make "Country Ways Content Show" on the homepage. I posting separating country in every country in the different category. Think you are from USA, when you visit then only under ...
7
votes
1answer
239 views

Get Post ID by Content

I am trying to get a post ID by it's post content. I have a custom post type of 'membership' which has post_content that looks like this... {"member_id":33} I am trying to get the ID of this post ...
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 ...
-1
votes
1answer
34 views

Post content not showing

I have this code that works perfect: <?php $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $wp_query->query('posts_per_page=5' . '&paged='.$paged); while ($wp_query->...
0
votes
1answer
45 views

https images not displaying

Setup Hi Guys! I have a weird issue. I'm using wordpress Premium BeTheme with ssl certificate installed. Problem The Problem is although images are uploading on the site with https but they are ...