The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
17 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
25 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
0answers
19 views

Best practice in version controlling (git) a whole wp site [on hold]

What is the best practice in version controlling a whole wp site, template files, plugins and Page contents? We are using these theme framework: Roots / sage Underscores Genesis I am also ...
0
votes
1answer
21 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
32 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
19 views

A better way to make 75% width for text and 100% for images in post?

I tried to make 75% width of paragraph in .entry-content, and also 100% responsive width of images. However, <img> is always in <p> as default. Currently, I can only make .entry-content ...
0
votes
1answer
9 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
21 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
10 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
27 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
24 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
27 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
58 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
42 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
23 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 ...
0
votes
1answer
655 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
72 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
53 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
22 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 ...
-1
votes
1answer
25 views

Content disappearing when trying to edit

When i click on a recently migrated blog to edit any of the posts, all of the content disappears. I read the previous post where some database info was given but I do not understand it. There was a ...
0
votes
0answers
24 views

Wordpress Premium Access

I'm new to PHP and Wordpress. I actually achieved pretty much until now, but now I just cant figure out how to do one thing: Grant registered users access to "Additional Content", I don't know why, ...
0
votes
2answers
23 views

Expandable WordPress content (text) inside a post

I've created a CPT in my WordPress site. In this CPT I have the content element (which is the default WP content) and want to make it expandable, I mean, while viewing the CPT I want it to only ...
0
votes
1answer
18 views

Add video tag to youtube link fron content

I have variable $post->post_content that return me detail of post and some video URL from YouTube. I need to remove any text from $post->post_content else YouTube link, And add to YouTube likn ...
0
votes
0answers
22 views

content-aside.php not being recognised

I am new to WordPress and I have hit a very frustrating block. I am trying to set up post formats, which I have done, and can select from the admin panel, but none of them will recognise my ...
0
votes
1answer
25 views

include exception inside theme for empty widget area

Im using Storefront-paper theme for a blog, and for my sorprise, sidebar.php include a code to block possibility to have empty widget area. In this case I would like to use a page how front page, ...
0
votes
1answer
29 views

Text with special class as excerpt (or exclude special class)

I am new in Wordpress and I am trying to customize my own theme. All my posts are starting with a kind of content that I don't want to become the excerpt. It is kind of header. Is there a way to ...
0
votes
3answers
327 views

Wordpress tinymce prints empty P tag and break html format

I'm raising this problem because I don't find a latest answer and the problem still exist to me. I'm running wordpress 4.2.2 with x theme when I'm editing the content via WP default editor (tinymce). ...
-1
votes
1answer
16 views

Full Width Container Colour Problems

I wanted to duplicate a page and so I copied the code into a new page. Everything worked however one full-width container has a background colour that on the original page stretched across the whole ...
0
votes
1answer
56 views

append one page content into another

I need to append the content of one page into this one. I have tried to use a plugin which is very easy to use but doesn't work in my case. Then I found following code: <?php $recent = new ...
0
votes
1answer
93 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
0answers
38 views

Content Section Custom Anchor Not Working

I purchase WP theme (Techwise) and I found an issue with content menu sidebar in post page. that content not working as same (toc) Table of Content. it's not working with Arabic letters but working ...
1
vote
4answers
106 views

Output string using php printf

I'm trying to display a texts with functions on my page. Please find the code below. I'm not getting the output I want. <?php $content = the_content(); ?> <?php printf(__('Output : %1$s', ...
0
votes
1answer
46 views

How to get sort content by page id?

I wont to get short content in my footer area. So, I write my code as follow: $page = get_page_by_title( 'About us' ); $content = apply_filters('the_content', $page->post_content); ?> ...
0
votes
1answer
39 views

Show part of front page on another page [closed]

I'm using the Zerif Pro theme on my wordpress website: http://themeisle.com/demo/?theme=Zerif%20Pro%20K I've added content to the frontpage by customising the theme. I'm trying to show a part of the ...
0
votes
1answer
60 views

How to refresh a template page on Wordpress in 3 seconds - easiest method?

Basically, on my site I have content submitted via a search bar. I'm using a content-none template to detect if the user is signed in - and if so it submits a post programmatically (if the post ...
0
votes
0answers
78 views

split the content using more tag and array

I'm trying to create a function that allows me to SPLIT the_content in wordpress using the more tag in the posts field. However, I don't know what I'm doing and seem to be making a mess In my ...
0
votes
1answer
29 views

Advanced sorting of content in wordpress [closed]

Let's just say that I have website about cars. I have already created several categories, depending on which brand the cars are. My question is simple. I would like to implement some advanced type of ...
0
votes
0answers
30 views

Sticking a post or page to the top of all WordPress pages, posts, index pages, etc

I'm trying to add the same common content (like an announcement, banner, or slider) to the top of all WordPress pages, posts, category archives, etc. Standard WordPress sticky posts are displayed only ...
0
votes
1answer
49 views

Having a strange wordpress issue where content does not load when past a certain amount

I'm having a really strange issue working with one of the pages on a site. The content isn't anything crazy or complex. It is a simple list of links. The issue I'm having is that it seems after a ...
1
vote
1answer
57 views

Bulk edit contents of pages

I would like to know how to edit the content area for many pages. I have many options for bulk editing of pages, such as parent and sidebar, like this image: But I can't do this for the actual ...
0
votes
1answer
74 views

Content alignment in Twenty Fourteen Theme

I am fighting around with a quite simple but at the moment not solvable problem. I set up a WP site on an external server for trying first time WordPress and was successful. Now setting it up on an ...
0
votes
1answer
27 views

Different site different div content - Multisite

I have created numbers of websites. They are www.example.com, subsite1.example.com, subsite2.example.com and subsite3.example.com. I want to make a div that show different content. The example below ...
0
votes
0answers
33 views

Content of my site disappeared after installing plugin wp super cache

Entire content is gone after installing plugin WP super cache. Now it seems that the only thing one can see is a blanc page. This is very strange. Www.starguest.com
0
votes
1answer
84 views

How should I structure complex content hierarchies?

I am pretty new to WP and I have not had to deal with any overly complex content structures as of yet. Until now. I'm trying to figure out the right mix of Custom Post Types, Taxonomies, Pages, etc. ...
0
votes
1answer
51 views

Problem in outputting shortcode

This is my 2nd question about shortcode as I'm learning shortcode. Here is my code: add_shortcode('work-shortcode', 'work_shortcode'); function work_shortcode() { $return_string .= '<div ...
1
vote
2answers
75 views

Post titles below the post format content

I've been trying to figure out this problem for a while now: <article class="post"> <div class="entry-header"> <h2 class="entry-title"><a href="<?php ...
0
votes
1answer
67 views

Problem in shortcode outputting content

I`m trying to make a shortcode that output the a div containing content from Custom Post type . I'm able to output the content but content does not output within div . the shortcode output the div and ...
0
votes
3answers
80 views

How to make author box like this & add after every post?

I want to make an author box like this : <table style="border: solid 1px #ffffff;width:100%;"> <tbody> <tr> <td> <h3><b><span ...
0
votes
1answer
48 views

How to Add Signature or Ads after Post Content in Particular Category?

function custom_content_after_post($content){ if (is_single()) { $content .= '<p>Load Your Content Here</p><img src="http://imgur.com/asdafe" alt="Your Name" />'; } ...
0
votes
2answers
309 views

How to add custom page elements to the WYSIWYG editor?

On a plugin-less Worpress installation the WYSIWYG editor allows to write a page down from top to bottom with style buttons (lists, font, italics, bold, add picture ...). What I am missing is the ...