The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
15 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
11 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 ...
0
votes
0answers
15 views

One click install on WordPress site

I am trying to follow this One Click demo content installation feature in WordPress theme options panel. Did everything right as mentioned but it does not seem to work now. Also en-queued the JS file ...
0
votes
0answers
9 views

How to fix the format of entry pages with thumbnail images?

I am trying to make the entry posts with a thumbnail image to the left, and title above the excerpt of the article to the right of the thumbnail, but aligned with it. Currently, the thumbnail is below ...
0
votes
2answers
33 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 ...
0
votes
0answers
34 views

How to limit number of words per line?

My theme info : Newspaper Ver 6.0 My problem : I want to limit number of words (say like 5 words per line for example) in a line in my content area. I'm not intending to add any h2,h3,bold texts, ...
1
vote
1answer
14 views

Setup private content for specific users with daily updates [closed]

So I have only found membership plugins which cater for private area where users can access the material after paying depending on their role. I need to make a dashboard kind of area where users can ...
0
votes
0answers
15 views

Editing specific text on Custom Page Template

I'm a Wordpress beginner and made my first personal theme from a static html website. Currently I'm trying to edit specific text on for example the homepage. I did manage to changing background color ...
0
votes
0answers
23 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. ...
1
vote
1answer
20 views

Set post title based on first h2 element in the content section

I have a front end editor set up for users to create posts and I would like to make it as simple as possible to create posts with the least amount of fields involved. Is it possible to generate the ...
2
votes
1answer
18 views

Moving comments section to left of content (Twenty Thirteen)

So I want to move my comments section to the left of my content in my Twentythirteen child theme. I've located where it's pulled from in the content.php file: <?php if ( comments_open() ...
1
vote
1answer
16 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
2answers
52 views

What is the proper way to get contents of a page?

The goal is very simple - to print page content on a page. I tried: <?php the_content() ?> <?= get_the_content() ?> then <?php the_content(get_the_ID()) ?> <?= ...
4
votes
0answers
78 views

Get ID of a page containing secondary loop in content

I am trying to get the ID (outside of loop) of a page which have a loop of another CPT within its content using a shortcode. If I do a print_r of get_queried_object(), all I get the args used to ...
-1
votes
2answers
43 views

Display content based on an event

Ok, I am building this membership plugin. Plugin sends user to a digital payment site and this one is sending user after the operation back to the wp site with a code (POST), to a page that was ...
0
votes
3answers
61 views

Adding Template Post Content

I've tried searching for this using various terminology, but I always end up at questions pertaining to the php template files. That's not what I'm looking for, so I'm asking a new question. I ...
1
vote
2answers
93 views

Why do wordpress store pages/posts within the database instead of files? [closed]

I don't understand why wordpress stores that kind of data: posts' content and pages' content, directly within the database instead of storing it in the filesystem and referencing them in the database ...
0
votes
0answers
49 views

Function inside shortcode doesn't display WP_Query properly - custom post type

I have a problem with some shortcode and a function to display list of shops based on another shortcode. I wrote some code: Shortcode function shops_list($atts){ extract(shortcode_atts(array( ...
0
votes
0answers
16 views

figure tag substitution in content editor

All the searches I have done imply the figure tag wrapping is a Good Thing. I'm not sure why as I just want the image without caption. I have this piece of code within the content editor; <img ...
0
votes
0answers
39 views

Spliting post content into two columns

I'm using this code to split post content into two columns: $content = get_the_content(); $content_car = strlen( $content ); $content_half = $content_car / 2; $chunks = str_split( $content, ...
0
votes
2answers
17 views

What content to use for inserting images

I would like to create a page template that will have two containers. Left one should be for text (it is a multilingual website so that is why I need a page template), and the right side should be for ...
0
votes
1answer
21 views

Copy from wordpress for dev gives different output in browser

I'm trying to accomplish the following: Havin a copy of the current live site to do some development. I would currently prefer to have the dev site on the same server. I did the following: List ...
1
vote
0answers
33 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 ...
0
votes
0answers
16 views

A post with a clear:both in its css destroy the theme design, and the sidebar is moved to the bottom

Everything was working well, but somebody wrote a post with the following inside: <iframe blablabla (a video) </iframe> <div style="clear: both; height: 3px; width: ...
0
votes
0answers
19 views

Link to specific content

I'm messing around with an existing theme at the moment, trying to strip away as much of the WordPress 'environment' as possible to only preserve the text-editing functionality. So, essentially, I ...
0
votes
0answers
27 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 ...
0
votes
1answer
44 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
vote
2answers
310 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
0answers
53 views

How do I get the meta section in top rated posts of thumbs rating plugin

Hi. I am trying to make page templates using the thumbs rating plugin. and trying to display top rated posts. All was going well, until I got stuck in the meta section. The function I am having a ...
1
vote
1answer
130 views

How can I clear oEmbed caches for YouTube on posts as they are loaded

I have a site with tons of posts hundreds/thousands of which have YouTube videos embedded. Most use the default [embed]youtube_url[embed] format and the actual embed code is stored in the oEmbed ...
0
votes
1answer
38 views

Is there a page length limit?

I am developing a site and it has 4k lines of content for some of the page (this is when you view source). It is in WordPress, however, I can't seem to add anymore content. It doesn't even respond ...
0
votes
1answer
95 views

Remove empty rows from the database

I'm writing a script to alter the post content column in the database and I just notice it has a lot of empty rows, these seem to be deleted posts that now have no content or anything, I don't like ...
0
votes
1answer
33 views

custom template only for content

I've been trying to get into wordpress plugin development but I still haven't figured out how to customize just one part of the template, I've seen the single-{post-type}.php method, but this changes ...
0
votes
1answer
159 views

Remove tinyMCE from admin and replace with textarea

I have created a plugin wherein I have a custom post type. I am using post_content for some simple text. I do not need to offer any fancy editing or insertion of data for this field, so I looked for a ...
0
votes
2answers
57 views

Stripping <p> tag from elements in post

I'm fine with P tags for most of the content, since it makes styling easier. However I'd like to have span div iframe and possibly other HTML tags to not be placed inside of a p for post. I saw this ...
0
votes
1answer
37 views

How to use TOC with ACF?

I'm using ACF advanced custom fields plugin to create custom fields for my CPT where i replaced the content editor of my CPTs with a custom Wysiwyg Editor field (field name: full_text) from ACF in ...
0
votes
1answer
54 views

WordPress Subcategory Creates 2 urls for same page (serious issue)

All subcategories in WordPress create 2 urls to same page. domain.com/parentcat/childcat/ domain.com/childcat/ both urls go to the same page. in the eyes of Google this is duplicate content. it ...
0
votes
1answer
50 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
29 views

Local Content different from Remote Content

Problem Description I am developing a project using Wordpress as a CMS for a web page of a Scientific Research Group to Publish Information, News, Publications and Projects of the Scientific Group. ...
0
votes
1answer
15 views

Changing theme removes page content in dashboard's post main editor

My client's old site used some theme X. I created a child theme Y of some parent commercial theme Z. When viewing the admin page of a certain page while old theme X is activated, I see its content in ...
0
votes
1answer
47 views

Add end mark at the end of every article

I'd like to insert an end mark like &#128282; 🔚 to every article I post. So I added it in entry-content.php like below. <section class="entry-content"> <?php if ( ...
2
votes
0answers
54 views

JSON not valid after json_encode posts

I'm having problems saving JSON in a custom table in my database. I pull some posts (+ connected posts) from the database and add them to an array. This is a part of my array: array(2) { ...
0
votes
1answer
224 views

<?php the_content(); ?> to get a little more content after 'read more' inside loop

I want the to give a little more content after <!--more--> tag inside Loop. I saw this on wordpress codex This script gives the content before the <!--more--> tag: <?php global ...
0
votes
1answer
689 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
1answer
84 views

Synchronize wordpress site between two different servers

This is my situation: I have a wordpress website on server A hosted in Belgium. It's a multilingual website available in languages: Dutch, French, English. I also need the language Vietnamese. The ...
0
votes
0answers
33 views

Modify content if has shortcode

I have a post or page , the content of that post or page is similar to the following Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et ...
1
vote
1answer
7k 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 ...
1
vote
1answer
157 views

Programmatically inserting page breaks

Is there a way to add a page break in WordPress programmatically? I'm trying to do this within a PHP loop that goes inside a post as a widget, it generates information that it gets from YELP through ...
0
votes
0answers
295 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
1answer
43 views

Put teaser content, more-link and full content in different divs if existing… Possible?

im working on a flip-card template and have a problem. <div class="card" id="card-<?php the_ID(); ?>"> <div class="front"> <div class="card-headline"><?php ...