The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
12 views

What's a better workflow for database migration?

When asked to work on an existing WordPress Site, I generally take a copy of the whole site and work on it locally. For quite a few years I have used a script such as the following after importing the ...
2
votes
1answer
22 views

Allow comments without approval for custom content type

I like to have comments be approved being posted, however I have a custom content type that I want comments to go through without moderation. Is this possible with a php function for only the custom ...
0
votes
1answer
23 views

How to assign a custom post title to be the post ID?

Is it possible to assign a custom post title name to the post ID upon submitting an ACF form? I'm trying to do this because I don't use the custom post title, instead I just want it to be the post ID. ...
0
votes
0answers
12 views

Appearance editor not showing up on any section of multisite installation

Wordpress 4.0. Tried disabling all plugins. Tried different themes including 2014 theme. Sent ticket to hosting provider but wp-config.php file doesn't have define('DISALLOW_FILE_EDIT', true);. ...
1
vote
1answer
75 views

Which built-in Wordpress files are safe to edit?

I begin to work with Wordpress, I'm developing a theme with many functionnalities into it, and I'm good with that. My question does not have to do with theme development, but more with general ...
0
votes
0answers
12 views

Where is stored the Publish date value for a post?

I have to do a massive change in the database and I need to know in what field of what table is stored the publish date value of a post. Using phpMyAdmin I see that each record into the wp_posts ...
0
votes
2answers
94 views

Why in this archive page that call query_posts() function show only the last 10 posts?

I am pretty new in WordPress theme development and I am finding 2 problem with this posts archive page: http://lnx.asper-eritrea.com/archivio/ The previous page have to show ALL the blog posts into ...
0
votes
1answer
221 views

Why WordPress architecture is not pure object oriented and it don't use MVC pattern? [closed]

I am pretty new in WordPress and PHP development (I came from Java and C#) and I am a bit astonished about how WP is structured. Coming from Java and C# I'm used to work on totally object oriented ...
0
votes
4answers
51 views

How to obtain the current website URL in my theme?

I am working on a custom theme and I have the following doubt about how to correctly insert the link to some section of my website into the theme. If you open this link you can understand what I need ...
0
votes
0answers
45 views

How to show the posts list into a static page? Problems to use the loop into a static page

I have the following problem: I have to create a posts archive into a static page. So I have created this page template containing the loop to interate on my posts: <?php /** * Template Name: ...
0
votes
0answers
24 views

moved site to development box, WP works fine except that only root of site is served

I have a small, ultra-low traffic WP site. Let us call it www.mysite.com. This same URL is listed both as the "Site Address" and the "Wordpress Address" under the wp-admin Settings panel of the live ...
0
votes
2answers
136 views

How to show only the date, the title and a little “summary” of my WordPress post in my custom theme?

I am pretty new in WordPress theme development and I have the following doubt about how show posts into a page. I have this page belonging to an old custom legacy blog that I am build again using ...
0
votes
1answer
32 views

What file have I to create in my custom WordPress theme to show all the post belonging to a specific category?

I am pretty new in WordPress theme development and I have the following doubt. I am working on this custom theme: http://lnx.asper-eritrea.com/ Into this website upper horizontal main menu I have a ...
0
votes
1answer
41 views

What exactly do this function declared into functions.php file of a WP theme?

someone can help me to understand what exactly do this function declared into the functions.php file of a theme? function exclude_featured_tag( $query ) { if ( $query->is_home() && ...
0
votes
0answers
29 views

Why do my offline development site and online live site behave differently?

I have two versions of my site - one live, the other a development site using DeskTopServer. I work on the development site - adding / editing posts etc. and making changes to the WP database, and ...
0
votes
0answers
10 views

Why this Wordpress page.php file contain the posts loop? [duplicate]

I am pretty new in WordPress theme development and I have the following question about the page.php page contained into templates files (the file that describe the template for the static pages) I am ...
0
votes
0answers
33 views

Hierarchy of Subcategories on Permalink

I'm new to Wordpress. My current permalink is set to /%category%/%postname%/ and a "." (dot) in the Category base. My categorys ID are bigger than the subcats IDs. So the URL looks like this: ...
-2
votes
1answer
14 views

Wrapping code in an if block

Breadcrumb trail shows on all pages, except I need to remove it from the homepage. Here's my code so fare. <?php if( !is_front_page ):?> <div class="breadcrumbs" style="position:absolute; ...
0
votes
1answer
20 views

display my pages html

I am new to wordpress I have a big problem, I created a plugin that contain "pages" folder that contains all my html pages I want to display in my website but I do not know how to do what I found out ...
1
vote
1answer
39 views

Using My Own Classes On Wp Unit Tests

(I'm trying to solve style problems of code samples) I'm developing a theme but I have some classes which developed for this theme. I want to run unit tests on my theme. I've followed this steps: ...
0
votes
2answers
34 views

How to add multiple images in a page

I am developing a WordPress Theme and I've got stuck in a point. What I want to do is to add a box at the right of page editor so the admin of the site can add multiple images on the fly in this ...
0
votes
1answer
41 views

Why There Is No “get content by ID” Function

When i need to get content of a post with ID, I'm always using this function : function getContentByID($id) { //http://wordpress.stackexchange.com/questions/9667/get-wordpress-post-content-by-post-id ...
0
votes
0answers
10 views

DTAP with wordpress + plugins [duplicate]

I'm struggling to find a good way to set up a DTAP street. We've have 4 separate environments (Development, Testing, Acceptance and Production) Codewise (so the .php files) migrating is trivially ...
0
votes
1answer
66 views

Link to a admin submenu item using a custom link

Situation: I am developing my first Wordpress plugin with multiple admin pages. This plugin has a menu and some submenus in Admin Menu. I am using Wordpress 3.9 on XAMPP, Windows 8.1 Pro. Problem: ...
0
votes
1answer
443 views

Right way to update widget on dynamic new input field

I have code to add an input field dynamicly in my theme. I have testd it, as a metabox and it works. But, not in a widget. First add and update, that codes work, but when I refresh page or try to ...
0
votes
1answer
81 views

Adding class to the parent of current-post-ancestor / current-menu-parent / current-post-parent

Following situation: I have a drop down menu. At the moment we are located on a single post of the category "Produkt Design" Its class in the menu is menu-item menu-item-type-taxonomy ...
0
votes
1answer
52 views

Moving from development while pulling production database without overwriting, to production

I am involved in a redesign of a client's website and during development the client has been adding posts/pages and working with existing plugins that were on the site. I have made a new theme and ...
0
votes
1answer
29 views

How to replace settings in WordPress plugin from a theme

I created an array with some default settings in a plugin, and want to allow it to be replaced from functions.php in a theme without using stored data (eg. add_option). I want this to be just a hook ...
0
votes
1answer
28 views

Custom Content Type with No Page View

I am trying to define a custom content type, more exactly I want to create some controls in a content type for a slider that I will show on the home page custom template. What I would like to know ...
-1
votes
1answer
18 views

Can I host wordpress separately on one hosting account?

I have a client who would like an auction site. I have decided to use Wordpress for this and found proper hosting and what not and thought I was set. Then the client asked if I could save time and ...
10
votes
1answer
143 views

How can I make updates to a site, on a development copy, but then move updates back without overriding live site's evolving database?

I've tried to be as descriptive in the title as possible, and I know this question has been asked in before in various forms but I could not find good answer to it and it's are to imagine that no one ...
-1
votes
1answer
26 views

What can I do to customize a widget provided with this plugin? from where have I to start?

I am using this WordPress plugin to create an immage gallery: http://wordpress.org/plugins/easy-media-gallery/ This plugin provide a single widget inside it and I would customize some litle function ...
1
vote
0answers
105 views

How to redirect users to their profile after they successfully edit their profile

I am using the buddypress plugin for wordpress and would like to make a little change... I was wondering, if there was a way I could redirect users to their profile page after they save the edits to ...
1
vote
1answer
1k views

Difference between add_filter and apply_filters

I have searched for a suitable explanation of the difference between add_filter() and apply_filters() in here but couldn't find one. Can anyone tell me what information or logic to consider before ...
1
vote
1answer
260 views

How to correctly add JQuery in a WP theme?

I am pretty new in WordPress and I have the following doubt: I have to include JQuery into a theme and I am doing in this way: I create the following function into functions.php theme file and I add ...
0
votes
1answer
267 views

WordPress multi-site, developing locally and syncing live changes

I've been working on a local version of a WP multi-site. Since I have been doing this, some of the live sites have been updated with new content. I was wondering if there was a better process to ...
0
votes
2answers
35 views

Work on theme files on a server & browser preview before installing it

A friend of mine who has got a live Wordpress website has bought a new theme. Before he's going to install and use it, he would like to adapt the theme's styles to his current web design. I uploaded ...
5
votes
1answer
75 views

WordPress objects class reference

In WordPress we have several objects defined through classes that are enough documented. These are the WP_Query, WPDB, WP_Post and other. There are other objects however that are actually created at ...
0
votes
1answer
87 views

How to handle a Wordpress blog with articles in different languages?

Most multilanguage plugins have the approach to provide each post in different languages. In that case, qTranslate or WPML are good plugins. But in my case, articles have one language and instead of ...
0
votes
3answers
33 views

How to do big modifications to live site?

How do you make large site wide modifications to your live site without bringing it down? I don't have a team of web designers and will be doing this solo. But still need to keep the site up and ...
0
votes
1answer
48 views

How do you create a development site into a subdirectory of the live site?

I have a WordPress site at http://example.com and I want to create a clone development site at http://example.com/test. I want http://example.com/test to be its own root URL as well as the live one ...
0
votes
1answer
62 views

Need Help Creating a Multi-Step, Video-Guided Enrollment Site

I have a distinct idea, and the beginnings of some ideas of how to implement it, but I find myself already spiraling off into research tangents and side-paths that can't possibly be healthy, so I ...
0
votes
2answers
129 views

Share WordPress Database

Does the WordPress installation has to use an exclusive database? I'm building a website with custom pages, that access a MySQL database. But the site will also have a WordPress installation. Can I ...
0
votes
0answers
294 views

Setting up staging area

I typically work on live sites, no matter the scope. What is the best way to set up a staging/dev area for live wp sites? I know MAMP is the way to go, but how would this work? Would I have to ...
0
votes
1answer
58 views

Problems with a custom meta_box

I got some information on here which I am using for an Events site I am developing. How to add option box in "Edit Post" plugin API? However, I have changed the checkboxes for text inputs ...
0
votes
1answer
285 views

Localhost wordpress access remote db wordpress website

I install wordpress on localhost then install wordpress on hosting. I want to access remote database on hosting from localhost environment. so whenever we add new page or post or change configuration ...
0
votes
1answer
84 views

How do I custom code the start page?

I'm pretty experienced in development in general, and also did some PHP coding to generate hmtl pages. I've also got a running WordPress blog with a number of posts. As a start, I want to "generate" ...
0
votes
1answer
37 views

Best place to call xdebug helper functions?

Right now I place the following code wherever I expect something to go wrong. /** xdebug helper */ error_reporting(E_ERROR); ini_set("display_errors", 1); ini_set("html_errors", 1); ...
0
votes
0answers
63 views

Plugin frontend with themes

I'm developing a calendar plugin and i need to show my content like a page, how i integrate my plugin file with themes? I created a index.php file in my plugin directory and load the get_header() ...
0
votes
1answer
32 views

What's the most minimal way in which a page can be hooked into WP?

I do a fair bit with custom API's on WordPress-based sites, typically by creating page templates. However, creating a custom page template, then creating a WP Page that utilizes it is kind of a pain ...