The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
21 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
12 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
13 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
35 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
96 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
22 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
34 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
15 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
20 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
0answers
23 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
12 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
23 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? ...
0
votes
1answer
34 views

Custom template for different post types

I'm struggling to get my head around the correct terminology for posts/templates etc which is making it difficult to find what I'm looking for in Google/on here. Basically, I'd like a user to be able ...
0
votes
1answer
57 views

Correcting the content width when sidebar is inactive?

I want my website's content (posts) to be central in the page when the sidebar is inactive. I've currently got it set to fit both the content AND the sidebar on the same page. How can I make it ...
1
vote
0answers
44 views

How can you use one database with multisite

I have two separate wordpress installations and two different domains. I am using one database with table prefixes. It works great but when I enter my content on one site it isn't reflected on the ...
0
votes
0answers
80 views

How to embed PDF files inside content without media_send_to_editor?

Goodafternoon, I use the following code to add an iframe around the PDF files that are added to a post in WordPress. The only problem with this feature is that the iframe will be also visible in the ...
0
votes
0answers
9 views

.entry-title and other contents not showing on mobile

I just noticed the title of my blog is not showing up on mobile for specific entries. On the main blog page, nothing shows. I've pretty much gutted header.php but left everything else more or less the ...
1
vote
1answer
20 views

Wordpress Multisite new sites in directory

Is it possible to make a wordpress multisite on domain.com and then every site that I make goes to domain.com/directory/newsite? and then I have another question: is it also possible to that every ...
-1
votes
3answers
207 views

Convert all youtube link to embed

I have this function to convert any YouTube URL in any post or page to embed :- function embed_youtube_an($post_content) { global $posts; ...
0
votes
1answer
49 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? ...
0
votes
0answers
37 views

Content instead Excerpt on term

Is it possible to show limitation (dynamically) of the contents near the search term value. I knew how how to using excerpt, but what I am talking about is, search result content limitation character ...
0
votes
1answer
34 views

get_the_content within foreach not the loop

I want to retrieve the content of posts within a foreach loop. $recent_posts = wp_get_recent_posts(); $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); ...
0
votes
0answers
32 views

sharing wp-include - wp-admin on same installation

This is not a security or privacy issue.. I have multiple wp installations (usually a couple for project), so in the next installation I'll be setting up I'm thinking of cutting down some space ...
0
votes
1answer
56 views

Get Content From Blog Page

I have a page that is assigned as the "Blog". What I'd like to allow is the user to add content to this page then display it before the posts show up on index.php. I thought I used to be able to do ...
0
votes
0answers
33 views

How to create a function to change content in the website?

I've been searching for an answer for over a day, but I couldn't find anything. The problem is that I need to change those 3 blocks of information whenever I want to, using the admin panel I've ...
-1
votes
2answers
37 views

Single loop with dual content area

Is there a way to implement a single loop with dual content area. E.g. A single loop having 2 of <?php the_content(); ?> Dinstinguished as shown bellow with video and write-up respectively ...
-1
votes
1answer
37 views

How to get some information from the_content [closed]

Hello in index loop 3 lastest post and i want to take only a bit o text and first photo or youtube - and here is the problem, because i can use the_excerpt or i can use get_post_meta to take text, to ...
0
votes
0answers
39 views

Show WP content on different PHP Sites

we are about to start developing a big dynamic web project (Probably on ZF2) which will have some modules&tabs to act as CMS module (displaying news, galleries, posts etc). Let's assume we have ...
3
votes
1answer
129 views

How can you make sure authors' posts are longer than 250 words?

I'm making a website that authors can sign up to and write articles. However I don't want low quality posts submitted. So, firstly I want the posts to be not empty and to be longer than 250 words. ...
1
vote
2answers
226 views

Hardening wordpress: wp-content file permissions?

I'm writing a script to automatically check file permissions in all wordpress installations on a server. This document http://codex.wordpress.org/Hardening_WordPress is unclear on a certain point: ...
0
votes
1answer
31 views

Making a specific page wordpress compatable that is not index

When I first created my website I overwrote the wordpress php and essentially made the website static. Now I want to make one specific page wordpress compatable (e.g. when i make posts from the ...
0
votes
1answer
45 views

Multiple approval from editors before publishing?

I would like to have more than 1 editor approve a post before it can be published. Is their anything that does this out of the box or will I need to roll my own?
0
votes
1answer
54 views

Update content on the fly

I am adding function to replace content on the fly for every width="*" with width="730px" and every height="*"with height="846" function replace_content_on_the_fly($text){ $replace = array( ...
0
votes
0answers
24 views

Add a excerpt to a custom WYSIWYG

I have a secondary WYSIWG on my post and I am using it to display content under a thumbnail. I am trying to figure out how to limit the amount of words I can display with the code I am using to ...
0
votes
0answers
97 views

Custom the_content filter?

I have written a plugin which uses a WYSIWYG editor to output a custom success or error message that the user can specify. HTML is allowed within the WYSIWYG editor, and I have used the_content ...
0
votes
0answers
44 views

Visual Editor not working for user on multiple computers

We are running 3.9.1, and haven't updated any plugins or our theme since the user started seeing an issue with a particular page. If the user opened up the page, nothing showed in the visual editor, ...
2
votes
1answer
84 views

Total Word Count For Posts And Comments By One Author

How can I count words in posts + tags + comments and display the number of total words used by each author ?
0
votes
1answer
299 views

Divide post content in three columns

Is it possible to split the_content() into three equal size columns? I have tried to achive that by getting this code which I found here <?php $content = get_the_content(); ...
0
votes
0answers
36 views

How to stop writing content twice on Wordpress using ajax?

I've been using javascript and ajax to do some post request inside a page and everything seems to work fine. Later on when content got more complicated I stop writing HTML code with javascript and I ...
0
votes
1answer
43 views

Using a custom field value as current users name [closed]

I'd like to use conditional logic to show a part of the single post page to a specific user. However the problem is Im pulling that username in from a custom field. Below is what I have so far. ...
0
votes
0answers
14 views

Editing content for mobile

I'm thinking about the best solution for separating content that should be displayed on different devices in the backend, e.g. desktop and mobile. The most obvious solution would be to define ...
0
votes
0answers
66 views

Member's area with private content?

To begin with, sorry for my english.. and thank you Goggle translate! :) I come to speak here because nobody knows answer me in my country. here is my problem: I created a website (in local for the ...
1
vote
2answers
245 views

Extract an embedded video from the content

I have added a post with the post format of video and I am trying to get to video so I can display the video in one div and the text in another like <div>the embedded video</div> ...
0
votes
1answer
53 views

How do I grab specific posts (by post id) and display the title, featured image, and excerpt?

I'm trying to help a friend get his site in order and he wants me to swap out the "services" posts on the front page with 4 specific posts. Thing is, I don't know the right way to do this dynamically. ...
0
votes
1answer
24 views

Editing the contents of just one div on a page from wordpress

On the homepage of the design I am integrating into Wordpress, this little area (as highlighted in the attached screenshot) needs to be editable for the client to update whenever needed, now this is ...
0
votes
0answers
35 views

Content too large to display?

I have made a post and it does not show the content of the post when the content is too large.If I insert a smaller content it shows normally. Any idea what is wrong? I have turned on the debug but it ...
0
votes
0answers
55 views

Default gallery returns as shortcode text not gallery from synchronized custom field

I'm using ACF and Polylang plugins. In ACF I have set up a custom WYSIWYG field where I create default WP gallery. Then in Polylang I have set up that it synchronizes this field across languages. So ...
0
votes
0answers
41 views

Whats the Mysql Query to Find each display_name stored in wp_postmeta.meta_value, grouped by username?

I created a custom content type that contains some fieds tos store user names (display name), thru a meta.key that is called 'opr'. Now i want a mysql query to find all custom postss date ...
1
vote
0answers
97 views

wp_insert_post iframe missing

In my install, I used one custom page. Here I put one text field and the fck editor. This is for the title and the content. I need to insert this into a page. I used the following code $my_post = ...
-1
votes
1answer
57 views

TwentyThirteen - Footer overlapping content [closed]

So, I'm designing a theme for a friend of mine, but there is a problem with the footer. Assuming the very bottom of the browser window is 1000px, it seems that the page content ends at 1000px, and ...