Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   New Versions, & Updating (http://forum.bytesforall.com/forumdisplay.php?f=12)
-   -   Help with updating photos and tpg plugin (http://forum.bytesforall.com/showthread.php?t=19732)

disfasia Feb 26, 2013 03:34 AM

Help with updating photos and tpg plugin
 
http://oneworldnow.net/ is my website and on each Atahualpa upgrade I must manually:

1. load header pictures
2. favicon
3. 'tpg get posts'-style.css file

Is there a way that this can be always standard and not touched by Atahualpa updates?

Thanks in advance.

juggledad Feb 26, 2013 04:24 AM

yes there is, take a look thru the forums and you will find some solutions.

disfasia Feb 27, 2013 04:50 AM

Thanks for making the theme accommodate the favicon and header!

I could not, however, fix the problem with the tpg plugin. Whenever Atahualpa is updated somehow that file is changed. How can I keep this from changing?

Cheers!

juggledad Feb 27, 2013 05:53 AM

What is changing?

disfasia Feb 27, 2013 10:53 AM

I have to replace that file on each upgrade of the theme. I use tpg get posts to remove the author info on the main page.

juggledad Feb 27, 2013 11:18 AM

what file? in the plugin folder? theme folder?

you have to realize, I've never heard of the plugin so you are the expert when it comes to this plugin.

disfasia Feb 27, 2013 02:55 PM

in the plugin folder: tpg-get-posts.php

the strange thing is this is not in the atahualpa folder,but nonetheless is destroyed with each Atahualpa update.

Here is the code from it in case this helps:

/*
* Styling for the tpg-get-post plugin
* all items prefaced with tgp (for tpg-get-posts)
*/
/* styling for posts*/
/* wrapper for all posts pulled by shortcode */
#tpg-get-posts{clear:both;}

/* wrapper for individual post */
.tpg-get-posts-post{clear:both;}
/* class for title*/
.tpg-title-class{
margin-top:1em !important;
}
/* class of by-line*/
.tpg-byline-class {
margin-left:1em;
font-size:small;
}

/* class for content*/
.tpg-get-posts-thumbnail{clear:both;}
.tpg-content-class{}
.tpg-thumbnail-class{}
.tpg--excerpt-class{clear:both;}
/* class for metadata*/
.tpg-metadata-class {
margin-left:2em;
font-size:x-small;
}
.tpg-ul-class {}
/*class for <hr> after list */
.tpg-get-post-li-hr {display:none}

.tpg-byline-class {
display: none !important;
}


I honestly don't know why it is destroyed at each update of the theme.

juggledad Feb 27, 2013 03:11 PM

updating the theme should not touch a plugin's file...unless you are putting the plugin's css file in the theme folder - which you shouldn't

one other thought, it could possibly be something your host is doing - a slight chance, but maybe you should ask them about this.

disfasia Feb 27, 2013 03:37 PM

thanks so much. i will look into this.

thanks so much!

juggledad Feb 27, 2013 06:20 PM

go read the first line of the plugin's styling section.


All times are GMT -6. The time now is 05:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.