Linked Questions

0
votes
0answers
13 views

Moving Plugin Code into a Theme - Class Declaration - what hook should I use to create new instance?

I'm planning on moving a Plugin Inside a Theme I'm creating. The Plugin currently utilizes a Class to declare and set up the Custom Post Type and all of the other functionality of the plugin itself. ...
0
votes
1answer
32 views

Take control of WordPress before functions.php

I'm developing theme and I want to make page cache of static pages in my WordPress theme (and basically I know how to implement it) The problem is that when making theme - the first time when I "get ...
2
votes
1answer
106 views

Add “Last Edited by” column to custom post type list table

Currently I use the "Admin Columns Pro" plugin for Wordpress to modify some of the columns in the backend. The plugin contains functionality to display the post (or in my case, product) author as a ...
0
votes
0answers
19 views

Where do I add my own configuration needs and how do I access them?

Somehow despite having been developing web sites since the late 90's I'm only now working on my first WordPress site. And I'm having a bit of trouble understanding the organization of WordPress and ...
0
votes
1answer
39 views

Directory structure for plugin changes

When I'm working in Wordpress, I quite often need to make adjustments to plugins. The recommended method, as I understand it, is to take the plugin file I'd like to modify (say, mypluginfile.php), and ...
-1
votes
1answer
27 views

Best practice to create required pages

Some times, when we work on custom wordpress themes, we need required pages. For example - custom login page. Some times, when user change slug, page template or something else - it a very difficult ...
0
votes
0answers
41 views

How to make shortcodes parse in two different themes

I've got a mobile and a desktop theme for my website , but the shortcodes in my desktop theme are a lot more functional than the ones in my mobile theme, I use only the shortcodes in my desktop theme, ...
-1
votes
1answer
58 views

Themes VS Plugins [duplicate]

If I am customizing a WordPress site, should I do that via a theme or a plugin? By customization I mean: Add new custom post type Add new fields to the Users Add new widgets Add custom permalinks ...
0
votes
1answer
93 views

Proper after_setup_theme and wp_head cleanup

Im trying to clean up code in my theme a little bit, remove some of the code that is not used and basically do things the right way, to decrease load time etc. Currently I have this code: ...
0
votes
2answers
113 views

Get a sidebar at the top of the page

I want to get a sidebar ( get_sidebar( 'mySidebar' ) ) at the top of the page, so I can't call it after get_header() in the content template. How could I do it?
0
votes
1answer
90 views

How to hide Admin Tabs? [duplicate]

I'm trying to hide tabs of admin panel like Posts, Pages, etc... I tried Admin Menu Editor without success.
1
vote
2answers
150 views

Custom Post Types. Are there any disadvantages/advantages in using a plugin to develop them?

There are a few plugins which can assist you in building your CPT's, and these can usually handle your taxonomies and sometimes postmeta also. Some even take it further than that. I know that as with ...
3
votes
1answer
2k views

How to create thumbnails for PDF uploads?

I'm developing a website that needs to allow users, within Gravity Forms, to submit a PDF file and have a JPG thumbnail created of the first page of the PDF that is then displayed in the created post. ...
0
votes
0answers
40 views

Multilingual Wordpress page - using URL to determine language?

I want to create a webpage that supports more than one language, but I don't want to use a plugin for that if it's possible. I am already loading the theme translation depending on the URL; if ...
1
vote
1answer
136 views

How to enable Custom Fields that are disabled by theme?

Some one already asked that here, but that doesn't solve my problem. My theme disabling the custom fields. How I can enable it manually? I want to know that which code Wordpress use to show Custom ...
0
votes
0answers
387 views

Incorporate zilla shortcode into theme

I am trying to incorporate zilla shortcode plugin into theme.I have done it nicely but result is not satisfactory.Here is my code <?php class ZillaShortcodes { function __construct() { ...
0
votes
2answers
92 views

How to use the widget area to extend the page content?

I want to remove a widget area (lateral), and extend the page width getting this area. What is the better way to do it?
1
vote
1answer
55 views

Adding custom image sizes and post types to a plugin or to a theme?

I'm just getting started but want to play around in the right area practicing for a new personal site/theme. Part A: I want to add featured images (and a few new image sizes) to a blog portion of a ...
0
votes
1answer
95 views

Modular CSS and JS in Child Themes

Let's assume that twentythirteen/shortcodes/ exists and inside are folders with shortcodes. 1 folder = 1 shortcode. Each shortcode has: 1 PHP file, 1 CSS file, 1 JS file. ...
1
vote
1answer
460 views

Getting Custom Post Type content from main-site of a Multisite

I have a multi-site network with 3 sub-sites: Is it possible to "link" or include custom post to all 3 sites from the main site? By include or link I don't mean to make other sites to edit them, ...
0
votes
1answer
254 views

How to make my plugin theme-independent?

I need a little help and/or consulting for my next steps. (I'm a beginner!) I've been working on my plugin, using a Custom Post Type "Project", some help from the plugin "Advanced Custom Fields" - ...
0
votes
2answers
36 views

Removing blog page images

I have my blog page here on a website I created, however I'm not understanding quite where to find the code to get rid of the images on my child theme. I'm using code from Twenty Ten and have set my ...
0
votes
0answers
18 views

Maintain custom post types and taxonomies in all themes [duplicate]

When I change the theme in dashboard, activated plugins that use custom post types, stay in the menu. But my own custom post types that I created myself disappear. Logically, It is because I create ...
0
votes
1answer
249 views

Display external RSS feed on pages

i'm working on a website that is built on WordPress & the Genesis Framework. I'm looking to display an RSS feed From Feedstich within WordPress pages in the middle of the content. What is my best ...
2
votes
1answer
352 views

Display custom list of tags in post/page editor with hooks

I used the information posted on this blog post to display specific tags when editing a post. The editors on my site wanted the ability to display pre-specified tags instead of the most popular ones. ...
0
votes
2answers
174 views

How can I customize the search results in Bones theme?

In a site that uses Bones theme, I am trying to localize the search results page and would like to replace the "read more" text with something else. I tried editing the search.php but it is useless as ...
0
votes
1answer
292 views

OG:Audio facebook meta tags

Does anyone have any Idea how to populate the attached audio file URL into meta elements? Just as you would featured image or something Here's what I tried: <meta property="og:audio" ...
7
votes
2answers
3k views

Creating a Custom Post Type as a Plugin? Why?

I've been experimenting with creating a Custom Post Type as a plugin (because I've seen this recommended in various places). But I have a question not about the how, but rather the why of building ...
0
votes
1answer
411 views

Adding a template in WPTouch

I am creating a mobile version for a site. For that I am using WPTouch not WPTouch-Pro. Now I want to add a form in my page. For desktop version I used template to add form. But in mobile version ...

15 30 50 per page