The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
22 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 ( ...
1
vote
0answers
12 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
9 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
34 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
35 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 ...
-2
votes
0answers
22 views

full width row with two column - how to have content center for each ? Visual Composer [closed]

I'm trying to have this specific layout using the Visual Composer ( see image below) the aim is to have a full width row with two columns. Each columns has a background-color different. and the ...
0
votes
1answer
86 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
63 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
38 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
19 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
24 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
21 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
20 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
18 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
27 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
231 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
48 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
81 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
34 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
101 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
43 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
31 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
55 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
68 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
25 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
26 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
48 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
44 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
61 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
22 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
77 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
47 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
66 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
61 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
70 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
44 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
249 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 ...
1
vote
1answer
118 views

Does is_user_logged_in() block search bots?

I want to use is_user_logged_in() in my home page so users that are not logged in see a sign up page. I want to know if this function blocks search engine bots from crawling the content inside ...
0
votes
1answer
77 views

Adding editable content above posts

I want to have a content area above my posts where I can use the visual composer to edit the content. However, when I go to manage>pages and then to the page which has my blog posts, and try to add ...
0
votes
1answer
50 views

How to get post_content while the post is being edited

I'm building a plugin that uses custom posts. The custom post uses metaboxes but some of the meta fields need information typed in the post editor. I'm trying to use post_content to retrieve ...
0
votes
0answers
27 views

Prevent multiple attachment with the same image

The plugin is designed to grab the user images from Instagram and insert them into media library, everything works fine on this part. I have set a transient with user selected refresh rate to check ...
0
votes
1answer
26 views

Backing up Wordpress database and files

I've tried a few third party plugins for backing up my site, with some working well and others not so much, so I'm trying out backing up the site manually. Is there anything I'm missing here or is ...
0
votes
1answer
40 views

Page for logged in user to Edit/Delete their own content?

Im new to WordPress, I have been working with Drupal for about 6 years and recently switched over to WP, couldnt be happier :) I have a question that I need some assistance with and was hoping that ...
0
votes
0answers
15 views

When I try add content to a page and click update, the content is erased / deleted

I have a few WordPress sites and some of them have started having this problem. When I edit a page and click the 'Update' button, the content is either erased, or only a small portion remains. Does ...
1
vote
0answers
33 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? ...