The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
112 views

Saving Custom Field Data before Publish

When creating a page or a post WordPress lets the content (title, body, featured image) be saved when using Ctrl + S. The Custom Fields do not save in the same way (in this case I'm using Advanced ...
1
vote
1answer
60 views

Show only posts with images and a fixed amount of posts

I found this code online. Its a code that only shows posts with images inside. Now, the problem is that if you set Wordpress to show 50 posts, this code shows the posts with the images, but also ...
0
votes
1answer
28 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
18 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
29 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
1answer
23 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
1answer
49 views

Migrate bbpress content to posts

I'm looking for a way to migratie a bbPress forum to post & replies. Why you ask? Well... the use of a forum in this case is an overkill. And I want to get rid of it. It's a bad apple from the ...
0
votes
1answer
56 views

Overwriting a Shortcode

I have a theme that extends the Visual Composer plugin with a slider on the front page. The slider will show five testimonials from five different customers. I want to add the featured image of each ...
0
votes
1answer
182 views

the_content() “crashes” for single pages

I have big trouble with the_content() for single.php. Whats my problem? the_content() doesn't give any output on single pages furthermore it crashes (no other PHP code below the function call is ...
0
votes
1answer
123 views

QA/Staging envirnoment for wordpress sites

I have different wordpress environments as Local, Staging, Live. I start writing contents with Local, then push to Staging and once Tested on staging need to push to live server I know that I can ...
0
votes
1answer
56 views

How to create custom content on custom page from plugin?

I have a plugin that I'm working on and I'd like the plugin to create and display custom content on a "page" created using a rewrite rule. I've successfully created the rewrite rule with ...
0
votes
1answer
61 views

Update references to pictures on website after moving to new URL

I moved my wordpress website to a new URL on the same server and managed to update most DB entries with the Velvet Blues Update URLs plugin. But the paths to my pictures, which are being used by the ...
0
votes
1answer
26 views

Hide parts of the post content after typing it's name or searching it by category

Code "nohome" worked for displaying wanted (hided'n'waiting) content on home page (just postname and image) How it could be adjusted or modified to make the same after name of post has been typed ...
0
votes
1answer
41 views

Retrieve page content and pass to PHP?

I'm new to WP but not PHP. I've a custom page that I have a PHP call to do some processing on the page content. the_content() even when enclosed in a function call <?php ...
0
votes
1answer
186 views

Hide parts of the post content on the home page

I have a post that contains a video (or a slider) and some text. Is it possible to hide the text on the home page, but still display the rest? How would I do that?
0
votes
1answer
213 views

Empty string supplied as input when parsing content

I have this code: <?php function mb_find_my_image( $content ) { if( is_home() ) { /* if is home start */ $dom = new domDocument; $dom->loadHTML($content); ...
0
votes
1answer
452 views

Automatically search and replace link in content (pages/posts)?

The users of my site mainly share documents by inserting links into content (pages/posts) using the built in editor. These files include everything from pdfs to word documents. The users currently ...
0
votes
1answer
42 views

Is it possible to set the upload location to a different server?

Our university has given our student society a 1GB portion of storage to be used for our website. We're low on their bandwidth priority however so it did not work speedily with Wordpress. I managed ...
0
votes
1answer
323 views

Bulk move (or copy) from a custom field to the post content?

I need to move (or copy) the contents of a custom field into the main post body, replacing any existing content. I need to do this for a few hundred posts...Is there a quick way of doing this? I can ...
-1
votes
1answer
40 views

After the local installation of an old WP website I can see the homepage but I can't access to the articles, why?

I have import on my local webserver a backup of a website made using WordPress but I am finding some difficulties with PermaLink The main problem is that if I use the permalink setted as Article Name ...
-1
votes
1answer
162 views

Iframe only visible after log in

I have a website on WordPress and I am trying to add a Iframe on its website. I have done similar sort of thing on two other websites previously without any issue.. Here is the website in question: ...
1
vote
0answers
70 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
vote
0answers
41 views

Show image on the left and content on the right using ul li

Well im looking for a way to do this. In the index to show each post, with the "thumb" on the left and the content of the right using ul li to do so.(http://ae.tutsplus.com/ for example) So far i ...
0
votes
0answers
11 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
0answers
27 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 ...
0
votes
0answers
26 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 ...
0
votes
0answers
19 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
65 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
37 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, ...
0
votes
0answers
30 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
0answers
12 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
40 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 ...
0
votes
0answers
32 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
39 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
34 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 ...
0
votes
0answers
31 views

Get a post content with selected id?

I tried to use this code on a page and woocommerce product page: <?php global $wpdb; $querystr = " SELECT * FROM $wpdb->posts WHERE ID = 2594 AND $wpdb->posts.post_type = 'post' "; ...
0
votes
0answers
15 views

Wordpress for app, hide certain elements

I am working on transferring a non wordpress website to wordpress and have come across a problem that I thought would be simple but turned out it's not. The website has an android app which per ...
0
votes
0answers
130 views

How to create page with lots of dynamic content(AJAX?)

I am setting up a Wordpress-homepage which has a lot of toggled content(sort of like this: https://jqueryui.com/tabs/). So for example I have a list of links on the left side, and a content-container ...
0
votes
0answers
12 views

Organize a content site - should I use cpt and taxonomies or the theme?

I have built a content site which includes several types of posts: text article, video post, image gallery / presentation, audio, etc. I am using a theme for the front-end. the theme includes a page ...
0
votes
0answers
276 views

SQL Query to select post thumbnail, post title, post content from a category

I use the db of my wordpress blog to develop a mobile application in Java. For this, I need the SQL query to display the thumbnail of a post, the title and the content in a selected category. I think ...
0
votes
0answers
165 views

Problems with moving wp-content to a subdomain

Got a little problem. I wanted to move wp-content to a subdomain (content.sitename.com) but there's a weird problem when rendering PHP-Content (e.g. style.css.php). Every PHP file in ...
0
votes
0answers
32 views

Is there a way to publish links as we do on Facebook?

Posting links to Facebook is very convenient. Facebook automatically fetch an extract of the website you want to share and download a thumbnail. Do you know any way to get this behaviour for ...
0
votes
0answers
56 views

Language Redirect

I'm newbie on Wordpress. I'm using WP Pro Quiz plugin and qTranslate . On WP 3.7.1 qTranslate doesn't work fine so I'd like to overwrite a page content by code i.e on page 800 there is this shortcode ...
0
votes
0answers
118 views

Wordpress : “link to existing content” not shows custom post types

I've seen many people who write for similar problem, i.e. to remove a custom post type on the search box for "link to existing content" on the tinyMCE editor of Wordpress. I've a reversed problem, I ...
0
votes
0answers
29 views

Choose to show or not show title on a template?

I want to show the page title in some pages but on others I don't. I'm wondering how to do it. I thought about using differente content templates one with title and one without. But I'm wondering if ...
0
votes
0answers
48 views

Set padding for all content except images and few more elements

I want to have left and right 10px padding for all content inside post/page, but not for images, videos, galleries, tweets, pre, hr and few more. So that elements must be full width. So I set: ...
0
votes
0answers
26 views

How to Pull Out Twitter Summary Data in other areas of my template?

I am curious on how www.gigaom.com is able to callout the summary data of their articles. In addition I am trying to figure out how the summary autoposts when you select the tweet this button and the ...
0
votes
0answers
117 views

Get part of a page url

I've been searching for this, but I can't find the answer. What I want to do: Every post will have a link to a page and that page needs to get the content of the post (the current post from where ...
0
votes
0answers
29 views

The concept of non-blog content

I'm fairly new to this wordpress stuff and wrapped my head around the blogging part. Now it comes to the non-blog part of a webpage. I understood the principle of creating static pages and displaying ...
0
votes
0answers
50 views

Retrieve image from content, assign it as a featured, and then remove it from the content

I am trying to grab the first image from the content and use as featured image, then remove the that image from the content. I found the plugin get the image, but it doesn't save image on the post, ...